home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…on Library 1994 September / ARPLE-Sept-94-Supplement.iso / AppleSoft / HyperCard Companion Products / HyperCard Products & Services next >
MacOS Executable  |  1994-08-22  |  8.0 MB  |  [APPL/JSM ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacOS Executable (executable/macOSExecutable).

You can browse this item here: HyperCard Products & Services

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Executable (executable/macOSExecutable) magic Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, busy, bundle, Sun Aug 14 12:58:42 1994, modified Mon Aug 22 07:55:34 1994, creator 'JSM ', type application, 203296 bytes "HyperCard Products & Services" , at 0x31aa0 8171312 bytes resource default (weak)
99% file data default
74% TrID Macintosh Application (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[APPL]
macFileCreator[JSM ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1d 48 79 70 65 72 43 | 61 72 64 20 50 72 6f 64 |..HyperC|ard Prod|
|00000010| 75 63 74 73 20 26 20 53 | 65 72 76 69 63 65 73 00 |ucts & S|ervices.|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 41 50 50 4c 4a 53 4d | 20 25 00 00 00 00 00 00 |.APPLJSM| %......|
|00000050| 00 00 00 00 03 1a 20 00 | 7c af 30 aa 73 fd c2 aa |...... .||.0.s...|
|00000060| 7e 42 b6 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |~B......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c6 5d 00 00 |........|.....]..|
|00000080| 00 00 62 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..b.STAK|........|
|00000090| 00 00 00 0a 00 03 1a 20 | 00 00 62 00 00 00 00 00 |....... |..b.....|
|000000a0| 00 00 00 00 00 00 00 07 | 00 00 0a 77 00 00 00 34 |........|...w...4|
|000000b0| 00 00 22 66 00 00 42 ee | 00 00 00 00 00 00 00 00 |.."f..B.|........|
|000000c0| 00 00 1c 98 00 00 00 00 | 00 05 00 00 18 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 20 80 00 02 20 80 00 | 02 20 60 00 02 20 60 00 |. ... ..|. `.. `.|
|000000f0| d5 25 11 4b 00 00 00 00 | 00 00 00 00 01 e0 02 80 |.%.K....|........|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 68 00 00 0c f5 | 01 e0 02 80 00 00 00 00 |...h....|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 73 74 61 63 6b | 20 22 48 79 70 65 72 43 |-- stack| "HyperC|
|00000690| 61 72 64 20 50 72 6f 64 | 75 63 74 73 20 26 20 53 |ard Prod|ucts & S|
|000006a0| 65 72 76 69 63 65 73 22 | 0d 2d 2d 20 62 79 20 57 |ervices"|.-- by W|
|000006b0| 68 69 74 65 20 46 65 61 | 74 68 65 72 20 53 6f 66 |hite Fea|ther Sof|
|000006c0| 74 77 61 72 65 0d 2d 2d | 20 66 6f 72 20 4a 6f 69 |tware.--| for Joi|
|000006d0| 6e 74 53 6f 6c 75 74 69 | 6f 6e 73 20 4d 61 72 6b |ntSoluti|ons Mark|
|000006e0| 65 74 69 6e 67 20 61 6e | 64 20 41 70 70 6c 65 20 |eting an|d Apple |
|000006f0| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 0d 2d |Computer|, Inc..-|
|00000700| 2d 20 53 63 72 69 70 74 | 69 6e 67 20 62 79 20 50 |- Script|ing by P|
|00000710| 61 75 6c 20 46 6f 72 61 | 6b 65 72 2c 20 42 72 65 |aul Fora|ker, Bre|
|00000720| 74 74 20 53 68 65 72 2c | 20 61 6e 64 20 54 6f 6e |tt Sher,| and Ton|
|00000730| 79 20 42 65 72 75 6d 65 | 6e 0d 2d 2d 20 4d 61 70 |y Berume|n.-- Map|
|00000740| 20 69 6e 74 65 72 66 61 | 63 65 20 62 79 20 54 6f | interfa|ce by To|
|00000750| 6e 79 20 42 65 72 75 6d | 65 6e 0d 2d 2d 20 43 6f |ny Berum|en.-- Co|
|00000760| 6c 6f 72 20 64 65 73 69 | 67 6e 20 61 6e 64 20 67 |lor desi|gn and g|
|00000770| 72 61 70 68 69 63 73 20 | 62 79 20 52 2e 43 2e 20 |raphics |by R.C. |
|00000780| 40 20 4a 6f 69 6e 74 53 | 6f 6c 75 74 69 6f 6e 73 |@ JointS|olutions|
|00000790| 20 4d 61 72 6b 65 74 69 | 6e 67 0d 0d 2d 2d 20 48 | Marketi|ng..-- H|
|000007a0| 41 4e 44 4c 45 52 53 3a | 20 20 61 64 6a 75 73 74 |ANDLERS:| adjust|
|000007b0| 4e 61 76 42 75 74 74 6f | 6e 73 2c 63 68 65 63 6b |NavButto|ns,check|
|000007c0| 2c 63 6c 6f 73 65 43 61 | 72 64 2c 63 6c 6f 73 65 |,closeCa|rd,close|
|000007d0| 50 61 6c 65 74 74 65 2c | 0d 2d 2d 20 63 6c 6f 73 |Palette,|.-- clos|
|000007e0| 65 50 69 63 74 75 72 65 | 2c 63 6c 6f 73 65 53 74 |ePicture|,closeSt|
|000007f0| 61 63 6b 2c 63 6f 6c 6f | 72 4d 65 2c 63 72 65 61 |ack,colo|rMe,crea|
|00000800| 74 65 43 6f 6d 70 61 6e | 79 4e 61 6d 65 49 6e 64 |teCompan|yNameInd|
|00000810| 65 78 2c 0d 2d 2d 20 63 | 72 65 61 74 65 49 6e 64 |ex,.-- c|reateInd|
|00000820| 65 78 46 69 65 6c 64 2c | 63 72 65 61 74 65 4c 69 |exField,|createLi|
|00000830| 6e 6b 73 41 6e 64 49 6e | 64 65 78 65 73 2c 63 72 |nksAndIn|dexes,cr|
|00000840| 65 61 74 65 50 72 6f 64 | 75 63 74 4e 61 6d 65 49 |eateProd|uctNameI|
|00000850| 6e 64 65 78 2c 0d 2d 2d | 20 63 72 65 61 74 65 52 |ndex,.--| createR|
|00000860| 65 67 69 6f 6e 41 6e 64 | 53 70 65 63 69 61 6c 74 |egionAnd|Specialt|
|00000870| 79 4d 61 74 72 69 78 49 | 6e 64 65 78 65 73 2c 64 |yMatrixI|ndexes,d|
|00000880| 69 61 6c 54 68 65 50 68 | 6f 6e 65 2c 67 65 74 44 |ialThePh|one,getD|
|00000890| 65 6d 6f 2c 67 6f 46 69 | 72 73 74 2c 0d 2d 2d 20 |emo,goFi|rst,.-- |
|000008a0| 67 6f 49 6e 64 65 78 2c | 67 6f 4c 61 73 74 2c 67 |goIndex,|goLast,g|
|000008b0| 6f 4c 69 6e 6b 2c 67 6f | 4e 65 78 74 2c 67 6f 50 |oLink,go|Next,goP|
|000008c0| 72 65 76 2c 68 61 6e 64 | 6c 65 50 69 63 74 75 72 |rev,hand|lePictur|
|000008d0| 65 45 72 72 6f 72 2c 6c | 6f 63 6b 43 61 72 64 73 |eError,l|ockCards|
|000008e0| 2c 0d 2d 2d 20 6c 6f 63 | 6b 66 6c 64 73 2c 6e 61 |,.-- loc|kflds,na|
|000008f0| 76 45 72 72 6f 72 2c 6f | 70 65 6e 42 61 63 6b 67 |vError,o|penBackg|
|00000900| 72 6f 75 6e 64 2c 6f 70 | 65 6e 50 69 63 74 75 72 |round,op|enPictur|
|00000910| 65 2c 6f 70 65 6e 53 74 | 61 63 6b 2c 0d 2d 2d 20 |e,openSt|ack,.-- |
|00000920| 72 65 74 75 72 6e 54 6f | 4a 53 4d 43 61 74 61 6c |returnTo|JSMCatal|
|00000930| 6f 67 2c 73 65 74 50 72 | 6f 70 65 72 74 69 65 73 |og,setPr|operties|
|00000940| 2c 73 68 69 70 49 74 2c | 73 68 6f 77 50 68 6f 74 |,shipIt,|showPhot|
|00000950| 6f 0d 0d 2d 2d 20 46 55 | 4e 43 54 49 4f 4e 53 3a |o..-- FU|NCTIONS:|
|00000960| 20 62 74 6e 43 6c 69 63 | 6b 2c 63 61 74 61 6c 6f | btnClic|k,catalo|
|00000970| 67 53 74 61 63 6b 4e 61 | 6d 65 2c 63 6f 6c 6c 65 |gStackNa|me,colle|
|00000980| 63 74 49 6e 64 65 78 2c | 64 65 6d 6f 50 61 74 68 |ctIndex,|demoPath|
|00000990| 2c 6c 65 61 66 2c 0d 2d | 2d 20 6c 69 6e 65 54 6f |,leaf,.-|- lineTo|
|000009a0| 4c 69 6e 65 4e 75 6d 2c | 6c 69 6e 6b 63 61 72 64 |LineNum,|linkcard|
|000009b0| 73 2c 6e 6f 53 70 61 63 | 65 73 2c 70 61 6c 65 74 |s,noSpac|es,palet|
|000009c0| 74 65 4c 6f 63 2c 70 61 | 74 68 54 6f 48 65 72 65 |teLoc,pa|thToHere|
|000009d0| 2c 0d 2d 2d 20 72 65 67 | 69 6f 6e 41 6e 64 53 70 |,.-- reg|ionAndSp|
|000009e0| 65 63 69 61 6c 74 79 49 | 6e 64 65 78 4e 75 6d 62 |ecialtyI|ndexNumb|
|000009f0| 65 72 2c 73 74 69 6c 6c | 4f 6e 46 6c 6f 70 70 79 |er,still|OnFloppy|
|00000a00| 44 69 73 6b 2c 77 72 6f | 6e 67 53 74 61 63 6b 0d |Disk,wro|ngStack.|
|00000a10| 0d 2d 2d 20 4c 65 6e 67 | 74 68 20 6f 66 20 74 68 |.-- Leng|th of th|
|00000a20| 69 73 20 73 63 72 69 70 | 74 3a 20 31 39 35 34 30 |is scrip|t: 19540|
|00000a30| 0d 2d 2d 20 48 65 61 64 | 65 72 20 63 6f 6d 70 69 |.-- Head|er compi|
|00000a40| 6c 65 64 20 6f 6e 3a 20 | 36 2f 33 2f 39 34 20 31 |led on: |6/3/94 1|
|00000a50| 31 3a 35 33 20 41 4d 0d | 0d 2d 2d 2d 2d 2d 2d 2d |1:53 AM.|.-------|
|00000a60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0d 2d 2d 20 a5 a5 |--------|-..-- ..|
|00000a70| 20 4c 69 6e 6b 65 64 20 | 6c 69 73 74 20 68 61 6e | Linked |list han|
|00000a80| 64 6c 65 72 73 0d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |dlers.--|--------|
|00000a90| 2d 2d 2d 2d 2d 2d 0d 0d | 6f 6e 20 6f 70 65 6e 53 |------..|on openS|
|00000aa0| 74 61 63 6b 0d 67 6c 6f | 62 61 6c 20 75 73 65 72 |tack.glo|bal user|
|00000ab0| 4e 61 6d 65 0d 69 66 20 | 77 72 6f 6e 67 53 74 61 |Name.if |wrongSta|
|00000ac0| 63 6b 28 29 20 74 68 65 | 6e 20 70 61 73 73 20 6f |ck() the|n pass o|
|00000ad0| 70 65 6e 53 74 61 63 6b | 0d 73 65 74 20 63 75 72 |penStack|.set cur|
|00000ae0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 41 64 64 |sor to w|atch.Add|
|00000af0| 43 6f 6c 6f 72 20 69 6e | 73 74 61 6c 6c 2c 38 0d |Color in|stall,8.|
|00000b00| 63 68 65 63 6b 20 74 68 | 65 20 72 65 73 75 6c 74 |check th|e result|
|00000b10| 0d 73 65 74 20 74 65 78 | 74 41 72 72 6f 77 73 20 |.set tex|tArrows |
|00000b20| 74 6f 20 74 72 75 65 0d | 2d 2d 20 69 66 20 75 73 |to true.|-- if us|
|00000b30| 65 72 4e 61 6d 65 20 69 | 73 20 6e 6f 74 20 69 6e |erName i|s not in|
|00000b40| 20 74 68 65 53 63 72 69 | 70 74 65 72 73 28 29 20 | theScri|pters() |
|00000b50| 74 68 65 6e 20 73 65 74 | 20 75 73 65 72 4c 65 76 |then set| userLev|
|00000b60| 65 6c 20 74 6f 20 34 0d | 69 66 20 73 74 69 6c 6c |el to 4.|if still|
|00000b70| 4f 6e 46 6c 6f 70 70 79 | 44 69 73 6b 28 29 20 74 |OnFloppy|Disk() t|
|00000b80| 68 65 6e 0d 62 65 65 70 | 0d 61 6e 73 77 65 72 20 |hen.beep|.answer |
|00000b90| 22 57 65 20 72 65 63 6f | 6d 6d 65 6e 64 20 63 6f |"We reco|mmend co|
|00000ba0| 70 79 69 6e 67 20 74 68 | 69 73 20 73 74 61 63 6b |pying th|is stack|
|00000bb0| 20 74 6f 20 79 6f 75 72 | 20 68 61 72 64 20 64 72 | to your| hard dr|
|00000bc0| 69 76 65 2e 22 c2 0d 77 | 69 74 68 20 22 4f 4b 22 |ive."..w|ith "OK"|
|00000bd0| 20 6f 72 20 22 51 75 69 | 74 22 0d 69 66 20 69 74 | or "Qui|t".if it|
|00000be0| 20 69 73 20 22 51 75 69 | 74 22 20 74 68 65 6e 0d | is "Qui|t" then.|
|00000bf0| 64 6f 4d 65 6e 75 20 22 | 51 75 69 74 20 48 79 70 |doMenu "|Quit Hyp|
|00000c00| 65 72 43 61 72 64 22 0d | 65 78 69 74 20 74 6f 20 |erCard".|exit to |
|00000c10| 48 79 70 65 72 43 61 72 | 64 0d 65 6e 64 20 69 66 |HyperCar|d.end if|
|00000c20| 0d 65 6e 64 20 69 66 0d | 63 75 73 74 6f 6d 69 7a |.end if.|customiz|
|00000c30| 65 4d 65 6e 75 73 0d 70 | 61 73 73 20 6f 70 65 6e |eMenus.p|ass open|
|00000c40| 53 74 61 63 6b 0d 65 6e | 64 20 6f 70 65 6e 53 74 |Stack.en|d openSt|
|00000c50| 61 63 6b 0d 0d 6f 6e 20 | 63 6c 6f 73 65 53 74 61 |ack..on |closeSta|
|00000c60| 63 6b 0d 69 66 20 77 72 | 6f 6e 67 53 74 61 63 6b |ck.if wr|ongStack|
|00000c70| 28 29 20 74 68 65 6e 20 | 70 61 73 73 20 63 6c 6f |() then |pass clo|
|00000c80| 73 65 53 74 61 63 6b 0d | 73 65 74 20 63 75 72 73 |seStack.|set curs|
|00000c90| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 70 75 74 20 |or to wa|tch.put |
|00000ca0| 22 4a 6f 69 6e 74 20 53 | 6f 6c 75 74 69 6f 6e 73 |"Joint S|olutions|
|00000cb0| 20 4d 61 72 6b 65 74 69 | 6e 67 22 20 69 6e 74 6f | Marketi|ng" into|
|00000cc0| 20 77 4e 61 6d 65 0d 70 | 69 63 74 75 72 65 20 77 | wName.p|icture w|
|00000cd0| 4e 61 6d 65 2c 72 65 73 | 6f 75 72 63 65 2c 64 69 |Name,res|ource,di|
|00000ce0| 61 6c 6f 67 2c 66 61 6c | 73 65 0d 69 66 20 74 68 |alog,fal|se.if th|
|00000cf0| 65 72 65 20 69 73 20 61 | 20 77 69 6e 64 6f 77 20 |ere is a| window |
|00000d00| 77 4e 61 6d 65 20 74 68 | 65 6e 0d 73 68 6f 77 20 |wName th|en.show |
|00000d10| 77 69 6e 64 6f 77 20 77 | 4e 61 6d 65 20 61 74 20 |window w|Name at |
|00000d20| 33 2c 33 38 0d 2d 2d 20 | 73 65 74 20 72 65 63 74 |3,38.-- |set rect|
|00000d30| 20 6f 66 20 77 69 6e 64 | 6f 77 20 77 4e 61 6d 65 | of wind|ow wName|
|00000d40| 20 74 6f 20 28 72 65 63 | 74 20 6f 66 20 63 64 20 | to (rec|t of cd |
|00000d50| 77 69 6e 64 6f 77 29 0d | 2d 2d 20 73 68 6f 77 20 |window).|-- show |
|00000d60| 77 69 6e 64 6f 77 20 77 | 4e 61 6d 65 0d 65 6e 64 |window w|Name.end|
|00000d70| 20 69 66 0d 41 64 64 43 | 6f 6c 6f 72 20 72 65 6d | if.AddC|olor rem|
|00000d80| 6f 76 65 0d 77 61 69 74 | 20 32 20 73 65 63 73 0d |ove.wait| 2 secs.|
|00000d90| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00000da0| 6e 64 6f 77 20 77 4e 61 | 6d 65 20 74 68 65 6e 20 |ndow wNa|me then |
|00000db0| 63 6c 6f 73 65 20 77 69 | 6e 64 6f 77 20 77 4e 61 |close wi|ndow wNa|
|00000dc0| 6d 65 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |me.if th|ere is a|
|00000dd0| 20 6d 65 6e 75 20 22 43 | 61 74 65 67 6f 72 79 22 | menu "C|ategory"|
|00000de0| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|00000df0| 75 20 22 43 61 74 65 67 | 6f 72 79 22 0d 70 61 73 |u "Categ|ory".pas|
|00000e00| 73 20 63 6c 6f 73 65 53 | 74 61 63 6b 0d 65 6e 64 |s closeS|tack.end|
|00000e10| 20 63 6c 6f 73 65 53 74 | 61 63 6b 0d 0d 6f 6e 20 | closeSt|ack..on |
|00000e20| 72 65 73 75 6d 65 53 74 | 61 63 6b 0d 69 66 20 77 |resumeSt|ack.if w|
|00000e30| 72 6f 6e 67 53 74 61 63 | 6b 28 29 20 74 68 65 6e |rongStac|k() then|
|00000e40| 20 70 61 73 73 20 72 65 | 73 75 6d 65 53 74 61 63 | pass re|sumeStac|
|00000e50| 6b 0d 63 75 73 74 6f 6d | 69 7a 65 4d 65 6e 75 73 |k.custom|izeMenus|
|00000e60| 0d 65 6e 64 20 72 65 73 | 75 6d 65 53 74 61 63 6b |.end res|umeStack|
|00000e70| 0d 0d 6f 6e 20 73 75 73 | 70 65 6e 64 53 74 61 63 |..on sus|pendStac|
|00000e80| 6b 0d 69 66 20 77 72 6f | 6e 67 53 74 61 63 6b 28 |k.if wro|ngStack(|
|00000e90| 29 20 74 68 65 6e 20 70 | 61 73 73 20 73 75 73 70 |) then p|ass susp|
|00000ea0| 65 6e 64 53 74 61 63 6b | 0d 69 66 20 74 68 65 72 |endStack|.if ther|
|00000eb0| 65 20 69 73 20 61 20 6d | 65 6e 75 20 22 43 61 74 |e is a m|enu "Cat|
|00000ec0| 65 67 6f 72 79 22 20 74 | 68 65 6e 20 64 65 6c 65 |egory" t|hen dele|
|00000ed0| 74 65 20 6d 65 6e 75 20 | 22 43 61 74 65 67 6f 72 |te menu |"Categor|
|00000ee0| 79 22 0d 65 6e 64 20 73 | 75 73 70 65 6e 64 53 74 |y".end s|uspendSt|
|00000ef0| 61 63 6b 0d 0d 2d 2d 6f | 6e 20 6f 70 65 6e 43 61 |ack..--o|n openCa|
|00000f00| 72 64 0d 53 65 6e 64 20 | 63 6f 6c 6f 72 4d 65 20 |rd.Send |colorMe |
|00000f10| 74 6f 20 74 68 69 73 20 | 63 61 72 64 0d 70 61 73 |to this |card.pas|
|00000f20| 73 20 6f 70 65 6e 43 61 | 72 64 0d 65 6e 64 20 6f |s openCa|rd.end o|
|00000f30| 70 65 6e 43 61 72 64 0d | 0d 6f 6e 20 6f 70 65 6e |penCard.|.on open|
|00000f40| 42 61 63 6b 67 72 6f 75 | 6e 64 0d 69 66 20 77 72 |Backgrou|nd.if wr|
|00000f50| 6f 6e 67 53 74 61 63 6b | 28 29 20 74 68 65 6e 20 |ongStack|() then |
|00000f60| 70 61 73 73 20 6f 70 65 | 6e 42 61 63 6b 67 72 6f |pass ope|nBackgro|
|00000f70| 75 6e 64 0d 73 65 6e 64 | 20 63 6f 6c 6f 72 4d 65 |und.send| colorMe|
|00000f80| 20 74 6f 20 74 68 69 73 | 20 63 64 0d 70 61 73 73 | to this| cd.pass|
|00000f90| 20 6f 70 65 6e 42 61 63 | 6b 67 72 6f 75 6e 64 0d | openBac|kground.|
|00000fa0| 65 6e 64 20 6f 70 65 6e | 42 61 63 6b 67 72 6f 75 |end open|Backgrou|
|00000fb0| 6e 64 0d 0d 6f 6e 20 63 | 6c 6f 73 65 43 61 72 64 |nd..on c|loseCard|
|00000fc0| 0d 67 6c 6f 62 61 6c 20 | 67 43 61 74 61 6c 6f 67 |.global |gCatalog|
|00000fd0| 50 49 43 54 0d 72 65 70 | 65 61 74 20 77 68 69 6c |PICT.rep|eat whil|
|00000fe0| 65 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |e there |is a win|
|00000ff0| 64 6f 77 20 67 43 61 74 | 61 6c 6f 67 50 49 43 54 |dow gCat|alogPICT|
|00001000| 0d 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 67 43 |.close w|indow gC|
|00001010| 61 74 61 6c 6f 67 50 49 | 43 54 0d 65 6e 64 20 72 |atalogPI|CT.end r|
|00001020| 65 70 65 61 74 0d 6c 6f | 63 6b 20 73 63 72 65 65 |epeat.lo|ck scree|
|00001030| 6e 0d 70 61 73 73 20 63 | 6c 6f 73 65 43 61 72 64 |n.pass c|loseCard|
|00001040| 0d 65 6e 64 20 63 6c 6f | 73 65 43 61 72 64 0d 0d |.end clo|seCard..|
|00001050| 6f 6e 20 73 68 6f 77 53 | 70 6c 61 73 68 0d 70 75 |on showS|plash.pu|
|00001060| 74 20 22 4a 6f 69 6e 74 | 20 53 6f 6c 75 74 69 6f |t "Joint| Solutio|
|00001070| 6e 73 20 4d 61 72 6b 65 | 74 69 6e 67 22 20 69 6e |ns Marke|ting" in|
|00001080| 74 6f 20 77 4e 61 6d 65 | 0d 69 66 20 74 68 65 72 |to wName|.if ther|
|00001090| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 77 4e |e is a w|indow wN|
|000010a0| 61 6d 65 0d 74 68 65 6e | 20 73 68 6f 77 20 77 69 |ame.then| show wi|
|000010b0| 6e 64 6f 77 20 77 4e 61 | 6d 65 0d 65 6c 73 65 0d |ndow wNa|me.else.|
|000010c0| 70 69 63 74 75 72 65 20 | 77 4e 61 6d 65 2c 72 65 |picture |wName,re|
|000010d0| 73 6f 75 72 63 65 2c 64 | 69 61 6c 6f 67 2c 66 61 |source,d|ialog,fa|
|000010e0| 6c 73 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |lse.if t|here is |
|000010f0| 61 20 77 69 6e 64 6f 77 | 20 77 4e 61 6d 65 20 74 |a window| wName t|
|00001100| 68 65 6e 0d 73 68 6f 77 | 20 77 69 6e 64 6f 77 20 |hen.show| window |
|00001110| 77 4e 61 6d 65 20 61 74 | 20 33 2c 33 38 0d 65 6e |wName at| 3,38.en|
|00001120| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 77 61 69 74 |d if.end| if.wait|
|00001130| 20 32 20 73 65 63 73 0d | 69 66 20 74 68 65 72 65 | 2 secs.|if there|
|00001140| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 77 4e 61 | is a wi|ndow wNa|
|00001150| 6d 65 20 74 68 65 6e 20 | 63 6c 6f 73 65 20 77 69 |me then |close wi|
|00001160| 6e 64 6f 77 20 77 4e 61 | 6d 65 0d 65 6e 64 20 73 |ndow wNa|me.end s|
|00001170| 68 6f 77 53 70 6c 61 73 | 68 0d 0d 6f 6e 20 73 68 |howSplas|h..on sh|
|00001180| 69 70 49 74 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ipIt.loc|k screen|
|00001190| 0d 6c 6f 63 6b 20 6d 65 | 73 73 61 67 65 73 0d 70 |.lock me|ssages.p|
|000011a0| 75 73 68 20 63 61 72 64 | 0d 75 6e 6d 61 72 6b 20 |ush card|.unmark |
|000011b0| 61 6c 6c 20 63 61 72 64 | 73 0d 6d 61 72 6b 20 63 |all card|s.mark c|
|000011c0| 61 72 64 73 20 77 68 65 | 72 65 20 74 68 65 72 65 |ards whe|re there|
|000011d0| 20 69 73 20 61 20 62 74 | 6e 20 22 4c 69 6e 6b 73 | is a bt|n "Links|
|000011e0| 22 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |".repeat| with i |
|000011f0| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00001200| 72 20 6f 66 20 6d 61 72 | 6b 65 64 20 63 64 73 0d |r of mar|ked cds.|
|00001210| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|00001220| 73 79 0d 67 6f 20 6d 61 | 72 6b 65 64 20 63 64 20 |sy.go ma|rked cd |
|00001230| 69 0d 73 65 6c 65 63 74 | 20 6c 69 6e 65 20 28 6c |i.select| line (l|
|00001240| 69 6e 65 54 6f 4c 69 6e | 65 4e 75 6d 28 73 68 6f |ineToLin|eNum(sho|
|00001250| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00001260| 62 67 2c 62 74 6e 20 22 | 4c 69 6e 6b 73 22 29 29 |bg,btn "|Links"))|
|00001270| 20 6f 66 20 62 74 6e 20 | 22 4c 69 6e 6b 73 22 0d | of btn |"Links".|
|00001280| 65 6e 64 20 72 65 70 65 | 61 74 20 2d 2d 20 69 0d |end repe|at -- i.|
|00001290| 75 6e 6d 61 72 6b 20 61 | 6c 6c 20 63 61 72 64 73 |unmark a|ll cards|
|000012a0| 0d 6c 6f 63 6b 66 6c 64 | 73 0d 6c 6f 63 6b 43 61 |.lockfld|s.lockCa|
|000012b0| 72 64 73 0d 63 72 65 61 | 74 65 4c 69 6e 6b 73 41 |rds.crea|teLinksA|
|000012c0| 6e 64 49 6e 64 65 78 65 | 73 0d 2d 2d 20 64 65 66 |ndIndexe|s.-- def|
|000012d0| 61 75 6c 74 20 74 68 65 | 20 69 6e 64 65 78 0d 67 |ault the| index.g|
|000012e0| 6f 20 63 64 20 22 49 6e | 64 65 78 22 0d 63 6c 69 |o cd "In|dex".cli|
|000012f0| 63 6b 20 61 74 20 74 68 | 65 20 6c 6f 63 20 6f 66 |ck at th|e loc of|
|00001300| 20 62 74 6e 20 22 43 6f | 6d 70 61 6e 69 65 73 22 | btn "Co|mpanies"|
|00001310| 0d 73 65 6c 65 63 74 20 | 6c 69 6e 65 20 31 20 6f |.select |line 1 o|
|00001320| 66 20 63 64 20 66 6c 64 | 20 22 49 6e 64 65 78 22 |f cd fld| "Index"|
|00001330| 0d 73 65 6c 65 63 74 20 | 6c 69 6e 65 20 31 20 6f |.select |line 1 o|
|00001340| 66 20 62 74 6e 20 22 53 | 70 65 63 69 61 6c 74 79 |f btn "S|pecialty|
|00001350| 22 0d 73 65 6c 65 63 74 | 20 6c 69 6e 65 20 31 20 |".select| line 1 |
|00001360| 6f 66 20 62 74 6e 20 22 | 52 65 67 69 6f 6e 22 0d |of btn "|Region".|
|00001370| 70 6f 70 20 63 61 72 64 | 0d 65 6e 64 20 73 68 69 |pop card|.end shi|
|00001380| 70 49 74 0d 0d 6f 6e 20 | 6c 6f 63 6b 43 61 72 64 |pIt..on |lockCard|
|00001390| 73 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |s.repeat| with i |
|000013a0| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|000013b0| 72 20 6f 66 20 63 64 73 | 0d 73 65 74 20 63 75 72 |r of cds|.set cur|
|000013c0| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 73 65 74 20 |sor to b|usy.set |
|000013d0| 74 68 65 20 63 61 6e 74 | 44 65 6c 65 74 65 20 6f |the cant|Delete o|
|000013e0| 66 20 63 64 20 69 20 74 | 6f 20 74 72 75 65 0d 65 |f cd i t|o true.e|
|000013f0| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 6c 6f |nd repea|t.end lo|
|00001400| 63 6b 43 61 72 64 73 0d | 0d 6f 6e 20 63 75 73 74 |ckCards.|.on cust|
|00001410| 6f 6d 69 7a 65 4d 65 6e | 75 73 0d 69 66 20 74 68 |omizeMen|us.if th|
|00001420| 65 20 65 6e 76 69 72 6f | 6e 6d 65 6e 74 20 69 73 |e enviro|nment is|
|00001430| 20 22 44 65 76 65 6c 6f | 70 6d 65 6e 74 22 20 61 | "Develo|pment" a|
|00001440| 6e 64 20 74 68 65 20 6f | 70 74 69 6f 6e 4b 65 79 |nd the o|ptionKey|
|00001450| 20 69 73 20 75 70 20 74 | 68 65 6e 20 65 78 69 74 | is up t|hen exit|
|00001460| 20 63 75 73 74 6f 6d 69 | 7a 65 4d 65 6e 75 73 0d | customi|zeMenus.|
|00001470| 73 65 74 20 75 73 65 72 | 4c 65 76 65 6c 20 74 6f |set user|Level to|
|00001480| 20 32 0d 70 75 74 20 22 | 41 70 70 6c 65 2c 46 69 | 2.put "|Apple,Fi|
|00001490| 6c 65 2c 45 64 69 74 2c | 53 79 73 74 65 6d 20 48 |le,Edit,|System H|
|000014a0| 65 6c 70 2c 41 70 70 6c | 69 63 61 74 69 6f 6e 22 |elp,Appl|ication"|
|000014b0| 20 69 6e 74 6f 20 65 78 | 63 65 70 74 69 6f 6e 73 | into ex|ceptions|
|000014c0| 0d 70 75 74 20 74 68 65 | 20 6d 65 6e 75 73 20 69 |.put the| menus i|
|000014d0| 6e 74 6f 20 74 68 65 4d | 65 6e 75 73 0d 72 65 70 |nto theM|enus.rep|
|000014e0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 6e 75 6d |eat with| i = num|
|000014f0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|00001500| 74 68 65 4d 65 6e 75 73 | 20 64 6f 77 6e 20 74 6f |theMenus| down to|
|00001510| 20 31 0d 69 66 20 6c 69 | 6e 65 20 69 20 6f 66 20 | 1.if li|ne i of |
|00001520| 74 68 65 4d 65 6e 75 73 | 20 69 73 20 69 6e 20 65 |theMenus| is in e|
|00001530| 78 63 65 70 74 69 6f 6e | 73 20 74 68 65 6e 20 6e |xception|s then n|
|00001540| 65 78 74 20 72 65 70 65 | 61 74 0d 64 65 6c 65 74 |ext repe|at.delet|
|00001550| 65 20 6d 65 6e 75 20 28 | 6c 69 6e 65 20 69 20 6f |e menu (|line i o|
|00001560| 66 20 74 68 65 4d 65 6e | 75 73 29 0d 65 6e 64 20 |f theMen|us).end |
|00001570| 72 65 70 65 61 74 0d 70 | 75 74 20 22 51 75 69 74 |repeat.p|ut "Quit|
|00001580| 22 20 69 6e 74 6f 20 6d | 65 6e 75 20 22 46 69 6c |" into m|enu "Fil|
|00001590| 65 22 20 77 69 74 68 20 | 6d 65 6e 75 4d 73 67 20 |e" with |menuMsg |
|000015a0| 22 64 6f 4d 65 6e 75 20 | 51 75 69 74 20 48 79 70 |"doMenu |Quit Hyp|
|000015b0| 65 72 43 61 72 64 22 0d | 73 65 74 20 74 68 65 20 |erCard".|set the |
|000015c0| 63 6d 64 43 68 61 72 20 | 6f 66 20 6d 65 6e 75 49 |cmdChar |of menuI|
|000015d0| 74 65 6d 20 22 51 75 69 | 74 22 20 6f 66 20 6d 65 |tem "Qui|t" of me|
|000015e0| 6e 75 20 22 46 69 6c 65 | 22 20 74 6f 20 22 51 22 |nu "File|" to "Q"|
|000015f0| 0d 70 75 74 20 22 41 62 | 6f 75 74 20 74 68 69 73 |.put "Ab|out this|
|00001600| 20 63 61 74 61 6c 6f 67 | c9 22 20 69 6e 74 6f 20 | catalog|." into |
|00001610| 6d 65 6e 75 49 74 65 6d | 20 31 20 6f 66 20 6d 65 |menuItem| 1 of me|
|00001620| 6e 75 20 22 41 70 70 6c | 65 22 0d 6d 61 6b 65 43 |nu "Appl|e".makeC|
|00001630| 61 74 65 67 6f 72 79 4d | 65 6e 75 0d 73 68 6f 77 |ategoryM|enu.show|
|00001640| 20 6d 65 6e 75 42 61 72 | 0d 65 6e 64 20 63 75 73 | menuBar|.end cus|
|00001650| 74 6f 6d 69 7a 65 4d 65 | 6e 75 73 0d 0d 6f 6e 20 |tomizeMe|nus..on |
|00001660| 6d 61 6b 65 43 61 74 65 | 67 6f 72 79 4d 65 6e 75 |makeCate|goryMenu|
|00001670| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 6d |.if ther|e is a m|
|00001680| 65 6e 75 20 22 43 61 74 | 65 67 6f 72 79 22 20 74 |enu "Cat|egory" t|
|00001690| 68 65 6e 20 64 65 6c 65 | 74 65 20 6d 65 6e 75 20 |hen dele|te menu |
|000016a0| 22 43 61 74 65 67 6f 72 | 79 22 0d 63 72 65 61 74 |"Categor|y".creat|
|000016b0| 65 20 6d 65 6e 75 20 22 | 43 61 74 65 67 6f 72 79 |e menu "|Category|
|000016c0| 22 0d 70 75 74 20 22 49 | 6e 64 65 78 22 20 26 72 |".put "I|ndex" &r|
|000016d0| 65 74 75 72 6e 26 20 22 | 2d 22 20 26 72 65 74 75 |eturn& "|-" &retu|
|000016e0| 72 6e 26 20 74 68 65 43 | 61 74 65 67 6f 72 69 65 |rn& theC|ategorie|
|000016f0| 73 28 29 20 69 6e 74 6f | 20 6d 65 6e 75 20 22 43 |s() into| menu "C|
|00001700| 61 74 65 67 6f 72 79 22 | 0d 65 6e 64 20 6d 61 6b |ategory"|.end mak|
|00001710| 65 43 61 74 65 67 6f 72 | 79 4d 65 6e 75 0d 0d 66 |eCategor|yMenu..f|
|00001720| 75 6e 63 74 69 6f 6e 20 | 74 68 65 43 61 74 65 67 |unction |theCateg|
|00001730| 6f 72 69 65 73 0d 72 65 | 74 75 72 6e 20 22 54 6f |ories.re|turn "To|
|00001740| 6f 6c 73 22 20 26 72 65 | 74 75 72 6e 26 20 22 50 |ols" &re|turn& "P|
|00001750| 72 6f 64 75 63 74 73 22 | 20 26 72 65 74 75 72 6e |roducts"| &return|
|00001760| 26 20 22 43 6f 6e 73 75 | 6c 74 69 6e 67 22 20 26 |& "Consu|lting" &|
|00001770| 72 65 74 75 72 6e 26 c2 | 0d 22 50 75 62 6c 69 63 |return&.|."Public|
|00001780| 61 74 69 6f 6e 73 22 20 | 26 72 65 74 75 72 6e 26 |ations" |&return&|
|00001790| 20 22 54 72 61 69 6e 69 | 6e 67 22 0d 65 6e 64 20 | "Traini|ng".end |
|000017a0| 74 68 65 43 61 74 65 67 | 6f 72 69 65 73 0d 0d 6f |theCateg|ories..o|
|000017b0| 6e 20 73 68 6f 77 41 62 | 6f 75 74 0d 70 75 74 20 |n showAb|out.put |
|000017c0| 22 4a 53 4d 20 4c 6f 67 | 6f 22 20 69 6e 74 6f 20 |"JSM Log|o" into |
|000017d0| 77 4e 61 6d 65 0d 70 69 | 63 74 75 72 65 20 77 4e |wName.pi|cture wN|
|000017e0| 61 6d 65 2c 72 65 73 6f | 75 72 63 65 2c 64 69 61 |ame,reso|urce,dia|
|000017f0| 6c 6f 67 2c 66 61 6c 73 | 65 0d 73 68 6f 77 20 77 |log,fals|e.show w|
|00001800| 69 6e 64 6f 77 20 77 4e | 61 6d 65 20 61 74 20 38 |indow wN|ame at 8|
|00001810| 38 2c 35 38 0d 77 61 69 | 74 20 75 6e 74 69 6c 20 |8,58.wai|t until |
|00001820| 74 68 65 20 6d 6f 75 73 | 65 43 6c 69 63 6b 0d 69 |the mous|eClick.i|
|00001830| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00001840| 64 6f 77 20 77 4e 61 6d | 65 20 74 68 65 6e 0d 63 |dow wNam|e then.c|
|00001850| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 77 4e 61 6d |lose win|dow wNam|
|00001860| 65 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 73 68 6f |e.end if|.end sho|
|00001870| 77 41 62 6f 75 74 0d 0d | 6f 6e 20 64 6f 4d 65 6e |wAbout..|on doMen|
|00001880| 75 20 77 68 61 74 2c 77 | 68 69 63 68 0d 67 6c 6f |u what,w|hich.glo|
|00001890| 62 61 6c 20 67 42 67 49 | 6e 64 65 78 0d 69 66 20 |bal gBgI|ndex.if |
|000018a0| 77 68 61 74 20 69 73 20 | 22 41 62 6f 75 74 20 48 |what is |"About H|
|000018b0| 79 70 65 72 43 61 72 64 | 2e 2e 2e 22 20 74 68 65 |yperCard|..." the|
|000018c0| 6e 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |n.set cu|rsor to |
|000018d0| 77 61 74 63 68 0d 70 75 | 74 20 22 4a 53 4d 20 4c |watch.pu|t "JSM L|
|000018e0| 6f 67 6f 22 20 69 6e 74 | 6f 20 77 4e 61 6d 65 0d |ogo" int|o wName.|
|000018f0| 70 69 63 74 75 72 65 20 | 77 4e 61 6d 65 2c 72 65 |picture |wName,re|
|00001900| 73 6f 75 72 63 65 2c 64 | 69 61 6c 6f 67 2c 66 61 |source,d|ialog,fa|
|00001910| 6c 73 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |lse.if t|here is |
|00001920| 61 20 77 69 6e 64 6f 77 | 20 77 4e 61 6d 65 20 74 |a window| wName t|
|00001930| 68 65 6e 0d 73 68 6f 77 | 20 77 69 6e 64 6f 77 20 |hen.show| window |
|00001940| 77 4e 61 6d 65 20 61 74 | 20 38 38 2c 35 38 0d 2d |wName at| 88,58.-|
|00001950| 2d 20 73 65 74 20 72 65 | 63 74 20 6f 66 20 77 69 |- set re|ct of wi|
|00001960| 6e 64 6f 77 20 77 4e 61 | 6d 65 20 74 6f 20 28 72 |ndow wNa|me to (r|
|00001970| 65 63 74 20 6f 66 20 63 | 64 20 77 69 6e 64 6f 77 |ect of c|d window|
|00001980| 29 0d 2d 2d 20 73 68 6f | 77 20 77 69 6e 64 6f 77 |).-- sho|w window|
|00001990| 20 77 4e 61 6d 65 0d 77 | 61 69 74 20 75 6e 74 69 | wName.w|ait unti|
|000019a0| 6c 20 74 68 65 20 6d 6f | 75 73 65 43 6c 69 63 6b |l the mo|useClick|
|000019b0| 0d 65 6e 64 20 69 66 0d | 69 66 20 74 68 65 72 65 |.end if.|if there|
|000019c0| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 77 4e 61 | is a wi|ndow wNa|
|000019d0| 6d 65 20 74 68 65 6e 0d | 63 6c 6f 73 65 20 77 69 |me then.|close wi|
|000019e0| 6e 64 6f 77 20 77 4e 61 | 6d 65 0d 65 6e 64 20 69 |ndow wNa|me.end i|
|000019f0| 66 0d 65 78 69 74 20 64 | 6f 4d 65 6e 75 0d 65 6e |f.exit d|oMenu.en|
|00001a00| 64 20 69 66 0d 69 66 20 | 77 68 69 63 68 20 3d 20 |d if.if |which = |
|00001a10| 22 43 61 74 65 67 6f 72 | 79 22 20 74 68 65 6e 0d |"Categor|y" then.|
|00001a20| 69 66 20 77 68 61 74 20 | 3d 20 22 49 6e 64 65 78 |if what |= "Index|
|00001a30| 22 20 74 68 65 6e 20 67 | 6f 49 6e 64 65 78 20 74 |" then g|oIndex t|
|00001a40| 72 75 65 0d 65 6c 73 65 | 0d 6c 6f 63 6b 20 73 63 |rue.else|.lock sc|
|00001a50| 72 65 65 6e 0d 67 6f 20 | 63 64 20 31 20 6f 66 20 |reen.go |cd 1 of |
|00001a60| 62 67 20 77 68 61 74 0d | 70 75 74 20 77 68 61 74 |bg what.|put what|
|00001a70| 20 69 6e 74 6f 20 67 42 | 67 49 6e 64 65 78 0d 70 | into gB|gIndex.p|
|00001a80| 75 74 20 22 53 6f 72 74 | 65 64 20 62 79 22 20 26 |ut "Sort|ed by" &|
|00001a90| 26 20 77 68 61 74 20 69 | 6e 74 6f 20 66 6c 64 20 |& what i|nto fld |
|00001aa0| 22 49 6e 64 65 78 20 44 | 69 73 70 6c 61 79 20 4c |"Index D|isplay L|
|00001ab0| 61 62 65 6c 22 0d 61 64 | 6a 75 73 74 4e 61 76 42 |abel".ad|justNavB|
|00001ac0| 75 74 74 6f 6e 73 0d 65 | 6e 64 20 69 66 0d 65 78 |uttons.e|nd if.ex|
|00001ad0| 69 74 20 64 6f 4d 65 6e | 75 0d 65 6e 64 20 69 66 |it doMen|u.end if|
|00001ae0| 0d 70 61 73 73 20 64 6f | 4d 65 6e 75 0d 65 6e 64 |.pass do|Menu.end|
|00001af0| 20 64 6f 4d 65 6e 75 0d | 0d 0d 2d 2d 20 a5 a5 20 | doMenu.|..-- .. |
|00001b00| 4c 69 6e 6b 65 64 20 6c | 69 73 74 20 68 61 6e 64 |Linked l|ist hand|
|00001b10| 6c 65 72 73 0d 2d 2d 20 | 42 72 65 74 74 20 53 68 |lers.-- |Brett Sh|
|00001b20| 65 72 0d 2d 2d 20 54 68 | 65 20 67 6c 6f 62 61 6c |er.-- Th|e global|
|00001b30| 20 67 57 68 69 63 68 49 | 6e 64 65 78 20 69 73 20 | gWhichI|ndex is |
|00001b40| 61 6e 20 69 6e 74 65 67 | 65 72 20 69 6e 64 69 63 |an integ|er indic|
|00001b50| 61 74 69 6e 67 20 77 68 | 69 63 68 20 69 6e 64 65 |ating wh|ich inde|
|00001b60| 78 20 69 73 20 69 6e 20 | 65 66 66 65 63 74 0d 2d |x is in |effect.-|
|00001b70| 2d 20 49 74 20 64 65 74 | 65 72 6d 69 6e 65 73 20 |- It det|ermines |
|00001b80| 77 68 69 63 68 20 6c 69 | 6e 65 20 6f 66 20 74 68 |which li|ne of th|
|00001b90| 65 20 6c 69 6e 6b 46 69 | 65 6c 64 73 20 69 73 20 |e linkFi|elds is |
|00001ba0| 75 73 65 64 20 66 6f 72 | 20 6e 61 76 69 67 61 74 |used for| navigat|
|00001bb0| 69 6f 6e 2e 0d 0d 6f 6e | 20 67 6f 49 6e 64 65 78 |ion...on| goIndex|
|00001bc0| 20 71 75 69 65 74 0d 69 | 66 20 71 75 69 65 74 20 | quiet.i|f quiet |
|00001bd0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00001be0| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 71 75 69 |t false |into qui|
|00001bf0| 65 74 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 6c |et.lock |screen.l|
|00001c00| 6f 63 6b 20 6d 65 73 73 | 61 67 65 73 0d 69 66 20 |ock mess|ages.if |
|00001c10| 6e 6f 74 20 71 75 69 65 | 74 20 74 68 65 6e 20 70 |not quie|t then p|
|00001c20| 6c 61 79 20 22 62 75 74 | 74 6f 6e 20 39 22 0d 67 |lay "but|ton 9".g|
|00001c30| 6f 20 63 61 72 64 20 22 | 49 6e 64 65 78 22 0d 63 |o card "|Index".c|
|00001c40| 6f 6c 6f 72 4d 65 20 69 | 72 69 73 43 6c 6f 73 65 |olorMe i|risClose|
|00001c50| 0d 72 65 66 72 65 73 68 | 43 61 72 64 0d 75 6e 6c |.refresh|Card.unl|
|00001c60| 6f 63 6b 20 6d 65 73 73 | 61 67 65 73 0d 65 6e 64 |ock mess|ages.end|
|00001c70| 20 67 6f 49 6e 64 65 78 | 0d 0d 6f 6e 20 61 64 6a | goIndex|..on adj|
|00001c80| 75 73 74 4e 61 76 42 75 | 74 74 6f 6e 73 0d 67 6c |ustNavBu|ttons.gl|
|00001c90| 6f 62 61 6c 20 67 57 68 | 69 63 68 49 6e 64 65 78 |obal gWh|ichIndex|
|00001ca0| 2c 20 67 49 6e 64 65 78 | 4e 61 6d 65 2c 67 42 67 |, gIndex|Name,gBg|
|00001cb0| 49 6e 64 65 78 0d 69 66 | 20 67 42 67 49 6e 64 65 |Index.if| gBgInde|
|00001cc0| 78 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |x is emp|ty then.|
|00001cd0| 70 75 74 20 6c 69 6e 65 | 20 67 57 68 69 63 68 49 |put line| gWhichI|
|00001ce0| 6e 64 65 78 20 6f 66 20 | 66 6c 64 20 22 70 72 65 |ndex of |fld "pre|
|00001cf0| 76 4c 69 6e 6b 73 22 20 | 69 6e 74 6f 20 74 68 65 |vLinks" |into the|
|00001d00| 43 61 72 64 49 44 0d 69 | 66 20 74 68 65 43 61 72 |CardID.i|f theCar|
|00001d10| 64 49 44 20 69 73 20 45 | 4d 50 54 59 20 74 68 65 |dID is E|MPTY the|
|00001d20| 6e 0d 73 65 74 20 74 68 | 65 20 65 6e 61 62 6c 65 |n.set th|e enable|
|00001d30| 64 20 6f 66 20 62 67 20 | 62 74 6e 20 22 70 72 65 |d of bg |btn "pre|
|00001d40| 76 22 20 74 6f 20 46 41 | 4c 53 45 0d 73 65 74 20 |v" to FA|LSE.set |
|00001d50| 74 68 65 20 65 6e 61 62 | 6c 65 64 20 6f 66 20 62 |the enab|led of b|
|00001d60| 67 20 62 74 6e 20 22 66 | 69 72 73 74 22 20 74 6f |g btn "f|irst" to|
|00001d70| 20 46 41 4c 53 45 0d 65 | 6c 73 65 0d 73 65 74 20 | FALSE.e|lse.set |
|00001d80| 74 68 65 20 65 6e 61 62 | 6c 65 64 20 6f 66 20 62 |the enab|led of b|
|00001d90| 67 20 62 74 6e 20 22 70 | 72 65 76 22 20 74 6f 20 |g btn "p|rev" to |
|00001da0| 54 52 55 45 0d 73 65 74 | 20 74 68 65 20 65 6e 61 |TRUE.set| the ena|
|00001db0| 62 6c 65 64 20 6f 66 20 | 62 67 20 62 74 6e 20 22 |bled of |bg btn "|
|00001dc0| 66 69 72 73 74 22 20 74 | 6f 20 54 52 55 45 0d 65 |first" t|o TRUE.e|
|00001dd0| 6e 64 20 69 66 0d 70 75 | 74 20 6c 69 6e 65 20 67 |nd if.pu|t line g|
|00001de0| 57 68 69 63 68 49 6e 64 | 65 78 20 6f 66 20 66 6c |WhichInd|ex of fl|
|00001df0| 64 20 22 6e 65 78 74 4c | 69 6e 6b 73 22 20 69 6e |d "nextL|inks" in|
|00001e00| 74 6f 20 74 68 65 43 61 | 72 64 49 44 0d 69 66 20 |to theCa|rdID.if |
|00001e10| 74 68 65 43 61 72 64 49 | 44 20 69 73 20 45 4d 50 |theCardI|D is EMP|
|00001e20| 54 59 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |TY then.|set the |
|00001e30| 65 6e 61 62 6c 65 64 20 | 6f 66 20 62 67 20 62 74 |enabled |of bg bt|
|00001e40| 6e 20 22 6e 65 78 74 22 | 20 74 6f 20 46 41 4c 53 |n "next"| to FALS|
|00001e50| 45 0d 73 65 74 20 74 68 | 65 20 65 6e 61 62 6c 65 |E.set th|e enable|
|00001e60| 64 20 6f 66 20 62 67 20 | 62 74 6e 20 22 6c 61 73 |d of bg |btn "las|
|00001e70| 74 22 20 74 6f 20 46 41 | 4c 53 45 0d 65 6c 73 65 |t" to FA|LSE.else|
|00001e80| 0d 73 65 74 20 74 68 65 | 20 65 6e 61 62 6c 65 64 |.set the| enabled|
|00001e90| 20 6f 66 20 62 67 20 62 | 74 6e 20 22 6e 65 78 74 | of bg b|tn "next|
|00001ea0| 22 20 74 6f 20 54 52 55 | 45 0d 73 65 74 20 74 68 |" to TRU|E.set th|
|00001eb0| 65 20 65 6e 61 62 6c 65 | 64 20 6f 66 20 62 67 20 |e enable|d of bg |
|00001ec0| 62 74 6e 20 22 6c 61 73 | 74 22 20 74 6f 20 54 52 |btn "las|t" to TR|
|00001ed0| 55 45 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 67 49 |UE.end i|f.put gI|
|00001ee0| 6e 64 65 78 4e 61 6d 65 | 20 69 6e 74 6f 20 66 6c |ndexName| into fl|
|00001ef0| 64 20 22 49 6e 64 65 78 | 20 44 69 73 70 6c 61 79 |d "Index| Display|
|00001f00| 20 4c 61 62 65 6c 22 0d | 65 6c 73 65 0d 70 75 74 | Label".|else.put|
|00001f10| 20 28 74 68 65 20 69 64 | 20 6f 66 20 74 68 69 73 | (the id| of this|
|00001f20| 20 63 64 20 3d 20 74 68 | 65 20 69 64 20 6f 66 20 | cd = th|e id of |
|00001f30| 6c 61 73 74 20 63 64 20 | 6f 66 20 74 68 69 73 20 |last cd |of this |
|00001f40| 62 67 29 20 69 6e 74 6f | 20 74 68 65 4c 61 73 74 |bg) into| theLast|
|00001f50| 0d 70 75 74 20 28 74 68 | 65 20 69 64 20 6f 66 20 |.put (th|e id of |
|00001f60| 74 68 69 73 20 63 64 20 | 3d 20 74 68 65 20 69 64 |this cd |= the id|
|00001f70| 20 6f 66 20 66 69 72 73 | 74 20 63 64 20 6f 66 20 | of firs|t cd of |
|00001f80| 74 68 69 73 20 62 67 29 | 20 69 6e 74 6f 20 74 68 |this bg)| into th|
|00001f90| 65 46 69 72 73 74 0d 73 | 65 74 20 74 68 65 20 65 |eFirst.s|et the e|
|00001fa0| 6e 61 62 6c 65 64 20 6f | 66 20 62 67 20 62 74 6e |nabled o|f bg btn|
|00001fb0| 20 22 4e 65 78 74 22 20 | 74 6f 20 6e 6f 74 20 74 | "Next" |to not t|
|00001fc0| 68 65 4c 61 73 74 0d 73 | 65 74 20 74 68 65 20 65 |heLast.s|et the e|
|00001fd0| 6e 61 62 6c 65 64 20 6f | 66 20 62 67 20 62 74 6e |nabled o|f bg btn|
|00001fe0| 20 22 4c 61 73 74 22 20 | 74 6f 20 6e 6f 74 20 74 | "Last" |to not t|
|00001ff0| 68 65 4c 61 73 74 0d 73 | 65 74 20 74 68 65 20 65 |heLast.s|et the e|
|00002000| 6e 61 62 6c 65 64 20 6f | 66 20 62 67 20 62 74 6e |nabled o|f bg btn|
|00002010| 20 22 46 69 72 73 74 22 | 20 74 6f 20 6e 6f 74 20 | "First"| to not |
|00002020| 74 68 65 46 69 72 73 74 | 0d 73 65 74 20 74 68 65 |theFirst|.set the|
|00002030| 20 65 6e 61 62 6c 65 64 | 20 6f 66 20 62 67 20 62 | enabled| of bg b|
|00002040| 74 6e 20 22 50 72 65 76 | 22 20 74 6f 20 6e 6f 74 |tn "Prev|" to not|
|00002050| 20 74 68 65 46 69 72 73 | 74 0d 70 75 74 20 22 53 | theFirs|t.put "S|
|00002060| 6f 72 74 65 64 20 62 79 | 22 20 26 26 20 74 68 65 |orted by|" && the|
|00002070| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00002080| 68 69 73 20 62 67 20 69 | 6e 74 6f 20 66 6c 64 20 |his bg i|nto fld |
|00002090| 22 49 6e 64 65 78 20 44 | 69 73 70 6c 61 79 20 4c |"Index D|isplay L|
|000020a0| 61 62 65 6c 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |abel".en|d if.end|
|000020b0| 20 61 64 6a 75 73 74 4e | 61 76 42 75 74 74 6f 6e | adjustN|avButton|
|000020c0| 73 0d 0d 6f 6e 20 67 6f | 46 69 72 73 74 0d 2d 2d |s..on go|First.--|
|000020d0| 20 67 6f 20 74 6f 20 66 | 69 72 73 74 20 63 61 72 | go to f|irst car|
|000020e0| 64 20 69 6e 20 63 75 72 | 72 65 6e 74 6c 79 20 73 |d in cur|rently s|
|000020f0| 65 6c 65 63 74 65 64 20 | 69 6e 64 65 78 0d 67 6c |elected |index.gl|
|00002100| 6f 62 61 6c 20 67 57 68 | 69 63 68 49 6e 64 65 78 |obal gWh|ichIndex|
|00002110| 2c 67 42 67 49 6e 64 65 | 78 0d 69 66 20 67 42 67 |,gBgInde|x.if gBg|
|00002120| 49 6e 64 65 78 20 69 73 | 20 65 6d 70 74 79 20 74 |Index is| empty t|
|00002130| 68 65 6e 0d 70 75 74 20 | 74 68 65 20 73 68 6f 72 |hen.put |the shor|
|00002140| 74 20 69 64 20 6f 66 20 | 74 68 69 73 20 63 61 72 |t id of |this car|
|00002150| 64 20 69 6e 74 6f 20 74 | 68 65 43 61 72 64 49 44 |d into t|heCardID|
|00002160| 0d 72 65 70 65 61 74 0d | 70 75 74 20 6c 69 6e 65 |.repeat.|put line|
|00002170| 20 67 57 68 69 63 68 49 | 6e 64 65 78 20 6f 66 20 | gWhichI|ndex of |
|00002180| 66 6c 64 20 22 70 72 65 | 76 4c 69 6e 6b 73 22 20 |fld "pre|vLinks" |
|00002190| 6f 66 20 63 61 72 64 20 | 69 64 20 74 68 65 43 61 |of card |id theCa|
|000021a0| 72 64 49 44 20 69 6e 74 | 6f 20 74 65 6d 70 0d 69 |rdID int|o temp.i|
|000021b0| 66 20 74 65 6d 70 20 69 | 73 20 65 6d 70 74 79 20 |f temp i|s empty |
|000021c0| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|000021d0| 0d 70 75 74 20 74 65 6d | 70 20 69 6e 74 6f 20 74 |.put tem|p into t|
|000021e0| 68 65 43 61 72 64 49 44 | 0d 65 6e 64 20 72 65 70 |heCardID|.end rep|
|000021f0| 65 61 74 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |eat.if t|here is |
|00002200| 6e 6f 74 20 61 20 63 61 | 72 64 20 69 64 20 74 68 |not a ca|rd id th|
|00002210| 65 43 61 72 64 49 44 20 | 74 68 65 6e 0d 6e 61 76 |eCardID |then.nav|
|00002220| 45 72 72 6f 72 20 74 68 | 65 43 61 72 64 49 44 0d |Error th|eCardID.|
|00002230| 65 6e 64 20 69 66 0d 65 | 6c 73 65 0d 70 75 74 20 |end if.e|lse.put |
|00002240| 74 68 65 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |the shor|t id of |
|00002250| 66 69 72 73 74 20 63 64 | 20 6f 66 20 74 68 69 73 |first cd| of this|
|00002260| 20 62 67 20 69 6e 74 6f | 20 74 68 65 43 61 72 64 | bg into| theCard|
|00002270| 49 44 0d 65 6e 64 20 69 | 66 0d 70 6c 61 79 20 22 |ID.end i|f.play "|
|00002280| 62 75 74 74 6f 6e 20 39 | 22 0d 67 6f 20 63 61 72 |button 9|".go car|
|00002290| 64 20 69 64 20 74 68 65 | 43 61 72 64 49 44 0d 63 |d id the|CardID.c|
|000022a0| 6f 6c 6f 72 4d 65 20 66 | 72 6f 6d 42 6f 74 74 6f |olorMe f|romBotto|
|000022b0| 6d 4c 65 66 74 0d 65 6e | 64 20 67 6f 46 69 72 73 |mLeft.en|d goFirs|
|000022c0| 74 0d 0d 6f 6e 20 67 6f | 50 72 65 76 0d 2d 2d 20 |t..on go|Prev.-- |
|000022d0| 67 6f 20 74 6f 20 70 72 | 65 76 20 63 61 72 64 20 |go to pr|ev card |
|000022e0| 69 6e 20 63 75 72 72 65 | 6e 74 6c 79 20 73 65 6c |in curre|ntly sel|
|000022f0| 65 63 74 65 64 20 69 6e | 64 65 78 0d 67 6c 6f 62 |ected in|dex.glob|
|00002300| 61 6c 20 67 57 68 69 63 | 68 49 6e 64 65 78 2c 67 |al gWhic|hIndex,g|
|00002310| 42 67 49 6e 64 65 78 0d | 69 66 20 67 42 67 49 6e |BgIndex.|if gBgIn|
|00002320| 64 65 78 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |dex is e|mpty the|
|00002330| 6e 0d 70 75 74 20 6c 69 | 6e 65 20 67 57 68 69 63 |n.put li|ne gWhic|
|00002340| 68 49 6e 64 65 78 20 6f | 66 20 66 6c 64 20 22 70 |hIndex o|f fld "p|
|00002350| 72 65 76 4c 69 6e 6b 73 | 22 20 69 6e 74 6f 20 74 |revLinks|" into t|
|00002360| 68 65 43 61 72 64 49 44 | 0d 69 66 20 74 68 65 72 |heCardID|.if ther|
|00002370| 65 20 69 73 20 6e 6f 74 | 20 61 20 63 61 72 64 20 |e is not| a card |
|00002380| 69 64 20 74 68 65 43 61 | 72 64 49 44 20 74 68 65 |id theCa|rdID the|
|00002390| 6e 0d 6e 61 76 45 72 72 | 6f 72 20 74 68 65 43 61 |n.navErr|or theCa|
|000023a0| 72 64 49 44 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |rdID.end| if.else|
|000023b0| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 69 |.put the| short i|
|000023c0| 64 20 6f 66 20 70 72 65 | 76 20 63 64 20 6f 66 20 |d of pre|v cd of |
|000023d0| 74 68 69 73 20 62 67 20 | 69 6e 74 6f 20 74 68 65 |this bg |into the|
|000023e0| 43 61 72 64 49 44 0d 65 | 6e 64 20 69 66 0d 70 6c |CardID.e|nd if.pl|
|000023f0| 61 79 20 22 62 75 74 74 | 6f 6e 20 39 22 0d 67 6f |ay "butt|on 9".go|
|00002400| 20 63 61 72 64 20 69 64 | 20 74 68 65 43 61 72 64 | card id| theCard|
|00002410| 49 44 0d 63 6f 6c 6f 72 | 4d 65 20 66 72 6f 6d 4c |ID.color|Me fromL|
|00002420| 65 66 74 0d 65 6e 64 20 | 47 6f 50 72 65 76 0d 0d |eft.end |GoPrev..|
|00002430| 6f 6e 20 67 6f 4e 65 78 | 74 0d 2d 2d 20 67 6f 20 |on goNex|t.-- go |
|00002440| 74 6f 20 6e 65 78 74 20 | 63 61 72 64 20 69 6e 20 |to next |card in |
|00002450| 63 75 72 72 65 6e 74 6c | 79 20 73 65 6c 65 63 74 |currentl|y select|
|00002460| 65 64 20 69 6e 64 65 78 | 0d 67 6c 6f 62 61 6c 20 |ed index|.global |
|00002470| 67 57 68 69 63 68 49 6e | 64 65 78 2c 67 42 67 49 |gWhichIn|dex,gBgI|
|00002480| 6e 64 65 78 0d 69 66 20 | 67 42 67 49 6e 64 65 78 |ndex.if |gBgIndex|
|00002490| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 | is empt|y then.p|
|000024a0| 75 74 20 6c 69 6e 65 20 | 67 57 68 69 63 68 49 6e |ut line |gWhichIn|
|000024b0| 64 65 78 20 20 6f 66 20 | 66 6c 64 20 22 6e 65 78 |dex of |fld "nex|
|000024c0| 74 4c 69 6e 6b 73 22 20 | 69 6e 74 6f 20 74 68 65 |tLinks" |into the|
|000024d0| 43 61 72 64 49 44 0d 69 | 66 20 74 68 65 72 65 20 |CardID.i|f there |
|000024e0| 69 73 20 6e 6f 74 20 61 | 20 63 61 72 64 20 69 64 |is not a| card id|
|000024f0| 20 74 68 65 43 61 72 64 | 49 44 20 74 68 65 6e 0d | theCard|ID then.|
|00002500| 6e 61 76 45 72 72 6f 72 | 20 74 68 65 43 61 72 64 |navError| theCard|
|00002510| 49 44 0d 65 6e 64 20 69 | 66 0d 65 6c 73 65 0d 70 |ID.end i|f.else.p|
|00002520| 75 74 20 74 68 65 20 73 | 68 6f 72 74 20 69 64 20 |ut the s|hort id |
|00002530| 6f 66 20 6e 65 78 74 20 | 63 64 20 6f 66 20 74 68 |of next |cd of th|
|00002540| 69 73 20 62 67 20 69 6e | 74 6f 20 74 68 65 43 61 |is bg in|to theCa|
|00002550| 72 64 49 44 0d 65 6e 64 | 20 69 66 0d 70 6c 61 79 |rdID.end| if.play|
|00002560| 20 22 62 75 74 74 6f 6e | 20 39 22 0d 67 6f 20 63 | "button| 9".go c|
|00002570| 61 72 64 20 69 64 20 74 | 68 65 43 61 72 64 49 44 |ard id t|heCardID|
|00002580| 0d 63 6f 6c 6f 72 4d 65 | 20 66 72 6f 6d 52 69 67 |.colorMe| fromRig|
|00002590| 68 74 0d 65 6e 64 20 67 | 6f 4e 65 78 74 0d 0d 6f |ht.end g|oNext..o|
|000025a0| 6e 20 67 6f 4c 61 73 74 | 0d 2d 2d 20 67 6f 20 74 |n goLast|.-- go t|
|000025b0| 6f 20 6c 61 73 74 20 63 | 61 72 64 20 69 6e 20 63 |o last c|ard in c|
|000025c0| 75 72 72 65 6e 74 6c 79 | 20 73 65 6c 65 63 74 65 |urrently| selecte|
|000025d0| 64 20 69 6e 64 65 78 0d | 67 6c 6f 62 61 6c 20 67 |d index.|global g|
|000025e0| 57 68 69 63 68 49 6e 64 | 65 78 2c 67 42 67 49 6e |WhichInd|ex,gBgIn|
|000025f0| 64 65 78 0d 69 66 20 67 | 42 67 49 6e 64 65 78 20 |dex.if g|BgIndex |
|00002600| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 70 75 |is empty| then.pu|
|00002610| 74 20 74 68 65 20 73 68 | 6f 72 74 20 69 64 20 6f |t the sh|ort id o|
|00002620| 66 20 74 68 69 73 20 63 | 61 72 64 20 69 6e 74 6f |f this c|ard into|
|00002630| 20 74 68 65 43 61 72 64 | 49 44 0d 72 65 70 65 61 | theCard|ID.repea|
|00002640| 74 0d 70 75 74 20 6c 69 | 6e 65 20 67 57 68 69 63 |t.put li|ne gWhic|
|00002650| 68 49 6e 64 65 78 20 6f | 66 20 66 6c 64 20 22 6e |hIndex o|f fld "n|
|00002660| 65 78 74 4c 69 6e 6b 73 | 22 20 6f 66 20 63 61 72 |extLinks|" of car|
|00002670| 64 20 69 64 20 74 68 65 | 43 61 72 64 49 44 20 69 |d id the|CardID i|
|00002680| 6e 74 6f 20 74 65 6d 70 | 0d 69 66 20 74 65 6d 70 |nto temp|.if temp|
|00002690| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|000026a0| 78 69 74 20 72 65 70 65 | 61 74 0d 70 75 74 20 74 |xit repe|at.put t|
|000026b0| 65 6d 70 20 69 6e 74 6f | 20 74 68 65 43 61 72 64 |emp into| theCard|
|000026c0| 49 44 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |ID.end r|epeat.if|
|000026d0| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 74 20 61 20 | there i|s not a |
|000026e0| 63 61 72 64 20 69 64 20 | 74 68 65 43 61 72 64 49 |card id |theCardI|
|000026f0| 44 20 74 68 65 6e 0d 6e | 61 76 45 72 72 6f 72 20 |D then.n|avError |
|00002700| 74 68 65 43 61 72 64 49 | 44 0d 65 6e 64 20 69 66 |theCardI|D.end if|
|00002710| 0d 65 6c 73 65 0d 70 75 | 74 20 74 68 65 20 73 68 |.else.pu|t the sh|
|00002720| 6f 72 74 20 69 64 20 6f | 66 20 6c 61 73 74 20 63 |ort id o|f last c|
|00002730| 64 20 6f 66 20 74 68 69 | 73 20 62 67 20 69 6e 74 |d of thi|s bg int|
|00002740| 6f 20 74 68 65 43 61 72 | 64 49 44 0d 65 6e 64 20 |o theCar|dID.end |
|00002750| 69 66 0d 70 6c 61 79 20 | 22 62 75 74 74 6f 6e 20 |if.play |"button |
|00002760| 39 22 0d 67 6f 20 63 61 | 72 64 20 69 64 20 74 68 |9".go ca|rd id th|
|00002770| 65 43 61 72 64 49 44 0d | 63 6f 6c 6f 72 4d 65 20 |eCardID.|colorMe |
|00002780| 66 72 6f 6d 42 6f 74 74 | 6f 6d 52 69 67 68 74 0d |fromBott|omRight.|
|00002790| 65 6e 64 20 67 6f 4c 61 | 73 74 0d 0d 6f 6e 20 67 |end goLa|st..on g|
|000027a0| 6f 4c 69 6e 6b 20 63 64 | 49 44 0d 67 6c 6f 62 61 |oLink cd|ID.globa|
|000027b0| 6c 20 67 42 67 49 6e 64 | 65 78 0d 73 65 74 20 63 |l gBgInd|ex.set c|
|000027c0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 70 |ursor to| watch.p|
|000027d0| 75 73 68 20 63 61 72 64 | 0d 6c 6f 63 6b 20 73 63 |ush card|.lock sc|
|000027e0| 72 65 65 6e 0d 6c 6f 63 | 6b 20 6d 65 73 73 61 67 |reen.loc|k messag|
|000027f0| 65 73 0d 67 6f 20 74 6f | 20 63 61 72 64 20 69 64 |es.go to| card id|
|00002800| 20 63 64 49 44 0d 70 75 | 74 20 74 68 65 20 73 68 | cdID.pu|t the sh|
|00002810| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00002820| 20 62 67 20 69 6e 74 6f | 20 62 67 4e 61 6d 65 0d | bg into| bgName.|
|00002830| 69 66 20 67 42 67 49 6e | 64 65 78 20 69 73 20 6e |if gBgIn|dex is n|
|00002840| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |ot empty| then pu|
|00002850| 74 20 22 53 6f 72 74 65 | 64 20 62 79 22 20 26 26 |t "Sorte|d by" &&|
|00002860| 20 62 67 4e 61 6d 65 20 | 69 6e 74 6f 20 66 6c 64 | bgName |into fld|
|00002870| 20 22 49 6e 64 65 78 20 | 44 69 73 70 6c 61 79 20 | "Index |Display |
|00002880| 4c 61 62 65 6c 22 0d 70 | 75 74 20 62 67 4e 61 6d |Label".p|ut bgNam|
|00002890| 65 20 69 6e 74 6f 20 67 | 42 67 49 6e 64 65 78 0d |e into g|BgIndex.|
|000028a0| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 62 74 |if there| is a bt|
|000028b0| 6e 20 22 4c 69 6e 6b 73 | 22 20 74 68 65 6e 0d 73 |n "Links|" then.s|
|000028c0| 65 6c 65 63 74 20 6c 69 | 6e 65 20 28 6c 69 6e 65 |elect li|ne (line|
|000028d0| 54 6f 4c 69 6e 65 4e 75 | 6d 28 62 67 4e 61 6d 65 |ToLineNu|m(bgName|
|000028e0| 2c 62 74 6e 20 22 4c 69 | 6e 6b 73 22 29 29 20 6f |,btn "Li|nks")) o|
|000028f0| 66 20 62 74 6e 20 22 4c | 69 6e 6b 73 22 0d 65 6e |f btn "L|inks".en|
|00002900| 64 20 69 66 0d 61 64 64 | 43 6f 6c 6f 72 20 63 6f |d if.add|Color co|
|00002910| 6c 6f 72 43 61 72 64 2c | 69 72 69 73 4f 70 65 6e |lorCard,|irisOpen|
|00002920| 2c 32 30 0d 65 6e 64 20 | 67 6f 4c 69 6e 6b 0d 0d |,20.end |goLink..|
|00002930| 6f 6e 20 6e 61 76 45 72 | 72 6f 72 20 74 68 65 43 |on navEr|ror theC|
|00002940| 61 72 64 49 44 0d 2d 2d | 20 a5 a5 ca 74 68 69 73 |ardID.--| ...this|
|00002950| 20 73 68 6f 75 6c 64 20 | 6e 65 76 65 72 20 62 65 | should |never be|
|00002960| 20 63 61 6c 6c 65 64 20 | 6f 6e 63 65 20 74 68 65 | called |once the|
|00002970| 20 73 74 61 63 6b 20 69 | 73 20 64 65 62 75 67 67 | stack i|s debugg|
|00002980| 65 64 20 61 6e 64 20 74 | 68 65 20 69 6e 64 65 78 |ed and t|he index|
|00002990| 65 73 20 68 61 76 65 20 | 62 65 65 6e 20 62 75 69 |es have |been bui|
|000029a0| 6c 74 0d 61 6e 73 77 65 | 72 20 22 54 68 65 72 65 |lt.answe|r "There|
|000029b0| 20 69 73 20 6e 6f 20 63 | 61 72 64 20 77 69 74 68 | is no c|ard with|
|000029c0| 20 74 68 65 20 69 64 3a | 22 20 26 26 20 74 68 65 | the id:|" && the|
|000029d0| 43 61 72 64 49 44 0d 65 | 78 69 74 20 74 6f 20 68 |CardID.e|xit to h|
|000029e0| 79 70 65 72 43 61 72 64 | 0d 65 6e 64 20 6e 61 76 |yperCard|.end nav|
|000029f0| 45 72 72 6f 72 0d 0d 6f | 6e 20 63 72 65 61 74 65 |Error..o|n create|
|00002a00| 4c 69 6e 6b 73 41 6e 64 | 49 6e 64 65 78 65 73 0d |LinksAnd|Indexes.|
|00002a10| 2d 2d 20 75 74 69 6c 69 | 74 79 20 68 61 6e 64 6c |-- utili|ty handl|
|00002a20| 65 72 20 77 68 69 63 68 | 20 6d 75 73 74 20 62 65 |er which| must be|
|00002a30| 20 72 75 6e 20 62 65 66 | 6f 72 65 20 74 68 65 20 | run bef|ore the |
|00002a40| 73 74 61 63 6b 20 73 68 | 69 70 73 0d 2d 2d 20 31 |stack sh|ips.-- 1|
|00002a50| 29 20 49 74 20 73 63 61 | 6e 73 20 74 68 65 20 63 |) It sca|ns the c|
|00002a60| 61 72 64 73 20 61 6e 64 | 20 63 72 65 61 74 65 73 |ards and| creates|
|00002a70| 20 74 68 65 20 69 6e 64 | 65 78 20 6c 69 73 74 73 | the ind|ex lists|
|00002a80| 0d 2d 2d 20 32 29 20 49 | 74 20 73 74 75 66 66 73 |.-- 2) I|t stuffs|
|00002a90| 20 74 68 65 20 22 70 72 | 65 76 4c 69 6e 6b 73 22 | the "pr|evLinks"|
|00002aa0| 20 61 6e 64 20 22 6e 65 | 78 74 4c 69 6e 6b 73 22 | and "ne|xtLinks"|
|00002ab0| 20 46 69 65 6c 64 73 20 | 6f 66 20 65 61 63 68 20 | Fields |of each |
|00002ac0| 64 61 74 61 20 63 61 72 | 64 0d 73 65 74 20 63 75 |data car|d.set cu|
|00002ad0| 72 73 6f 72 20 74 6f 20 | 77 61 74 63 68 0d 67 6f |rsor to |watch.go|
|00002ae0| 20 63 64 20 22 49 6e 64 | 65 78 22 0d 63 72 65 61 | cd "Ind|ex".crea|
|00002af0| 74 65 43 6f 6d 70 61 6e | 79 4e 61 6d 65 49 6e 64 |teCompan|yNameInd|
|00002b00| 65 78 0d 63 72 65 61 74 | 65 50 72 6f 64 75 63 74 |ex.creat|eProduct|
|00002b10| 4e 61 6d 65 49 6e 64 65 | 78 0d 63 72 65 61 74 65 |NameInde|x.create|
|00002b20| 52 65 67 69 6f 6e 41 6e | 64 53 70 65 63 69 61 6c |RegionAn|dSpecial|
|00002b30| 74 79 4d 61 74 72 69 78 | 49 6e 64 65 78 65 73 0d |tyMatrix|Indexes.|
|00002b40| 63 6c 69 63 6b 20 61 74 | 20 6c 6f 63 20 6f 66 20 |click at| loc of |
|00002b50| 63 64 20 62 74 6e 20 22 | 43 6f 6d 70 61 6e 69 65 |cd btn "|Companie|
|00002b60| 73 22 0d 70 75 74 20 22 | 2d 2d 20 44 6f 6e 65 22 |s".put "|-- Done"|
|00002b70| 0d 65 6e 64 20 63 72 65 | 61 74 65 4c 69 6e 6b 73 |.end cre|ateLinks|
|00002b80| 41 6e 64 49 6e 64 65 78 | 65 73 0d 0d 6f 6e 20 63 |AndIndex|es..on c|
|00002b90| 72 65 61 74 65 43 6f 6d | 70 61 6e 79 4e 61 6d 65 |reateCom|panyName|
|00002ba0| 49 6e 64 65 78 0d 70 75 | 74 20 22 54 6f 6f 6c 73 |Index.pu|t "Tools|
|00002bb0| a4 50 72 6f 64 75 63 74 | 73 a4 43 6f 6e 73 75 6c |.Product|s.Consul|
|00002bc0| 74 69 6e 67 a4 50 75 62 | 6c 69 63 61 74 69 6f 6e |ting.Pub|lication|
|00002bd0| 73 a4 54 72 61 69 6e 69 | 6e 67 22 20 69 6e 74 6f |s.Traini|ng" into|
|00002be0| 20 74 68 65 42 47 73 0d | 70 75 74 20 22 a4 22 20 | theBGs.|put "." |
|00002bf0| 69 6e 74 6f 20 64 65 6c | 69 6d 0d 73 65 74 20 69 |into del|im.set i|
|00002c00| 74 65 6d 44 65 6c 69 6d | 69 74 65 72 20 74 6f 20 |temDelim|iter to |
|00002c10| 64 65 6c 69 6d 0d 70 75 | 74 20 45 4d 50 54 59 20 |delim.pu|t EMPTY |
|00002c20| 69 6e 74 6f 20 69 6e 64 | 65 78 0d 70 75 74 20 31 |into ind|ex.put 1|
|00002c30| 20 69 6e 74 6f 20 49 6e | 64 65 78 4e 75 6d 62 65 | into In|dexNumbe|
|00002c40| 72 0d 0d 2d 2d 20 63 6f | 6c 6c 65 63 74 20 63 61 |r..-- co|llect ca|
|00002c50| 72 64 20 69 64 73 20 61 | 6e 64 20 61 73 73 6f 63 |rd ids a|nd assoc|
|00002c60| 69 61 74 65 20 74 68 65 | 6d 20 77 69 74 68 20 63 |iate the|m with c|
|00002c70| 6f 6d 70 61 6e 79 20 6e | 61 6d 65 73 0d 72 65 70 |ompany n|ames.rep|
|00002c80| 65 61 74 20 77 69 74 68 | 20 62 67 4e 75 6d 20 3d |eat with| bgNum =|
|00002c90| 20 31 20 74 6f 20 6e 75 | 6d 62 65 72 20 6f 66 20 | 1 to nu|mber of |
|00002ca0| 69 74 65 6d 73 20 6f 66 | 20 74 68 65 42 47 73 0d |items of| theBGs.|
|00002cb0| 2d 2d 20 67 65 6e 65 72 | 61 74 65 20 63 61 72 64 |-- gener|ate card|
|00002cc0| 20 69 64 20 6c 69 73 74 | 73 20 66 6f 72 20 63 61 | id list|s for ca|
|00002cd0| 72 64 20 6f 66 20 74 68 | 69 73 20 62 67 0d 70 75 |rd of th|is bg.pu|
|00002ce0| 74 20 69 74 65 6d 20 62 | 67 4e 75 6d 20 6f 66 20 |t item b|gNum of |
|00002cf0| 74 68 65 42 47 73 20 69 | 6e 74 6f 20 74 68 65 42 |theBGs i|nto theB|
|00002d00| 47 0d 70 75 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 |G.put nu|mber of |
|00002d10| 63 64 73 20 6f 66 20 62 | 67 20 74 68 65 42 47 20 |cds of b|g theBG |
|00002d20| 69 6e 74 6f 20 6e 43 61 | 72 64 73 0d 72 65 70 65 |into nCa|rds.repe|
|00002d30| 61 74 20 77 69 74 68 20 | 63 61 72 64 4e 75 6d 20 |at with |cardNum |
|00002d40| 3d 20 31 20 74 6f 20 6e | 43 61 72 64 73 0d 70 75 |= 1 to n|Cards.pu|
|00002d50| 74 20 6c 69 6e 65 20 31 | 20 6f 66 20 66 6c 64 20 |t line 1| of fld |
|00002d60| 22 43 6f 6d 70 61 6e 79 | 20 4e 61 6d 65 22 20 6f |"Company| Name" o|
|00002d70| 66 20 63 61 72 64 20 63 | 61 72 64 4e 75 6d 20 6f |f card c|ardNum o|
|00002d80| 66 20 62 67 20 74 68 65 | 42 47 20 69 6e 74 6f 20 |f bg the|BG into |
|00002d90| 63 6f 6d 70 61 6e 79 4e | 61 6d 65 0d 69 66 20 63 |companyN|ame.if c|
|00002da0| 6f 6d 70 61 6e 79 4e 61 | 6d 65 20 69 73 20 65 6d |ompanyNa|me is em|
|00002db0| 70 74 79 20 74 68 65 6e | 20 6e 65 78 74 20 72 65 |pty then| next re|
|00002dc0| 70 65 61 74 0d 70 75 74 | 20 74 68 65 20 73 68 6f |peat.put| the sho|
|00002dd0| 72 74 20 69 64 20 6f 66 | 20 63 61 72 64 20 63 61 |rt id of| card ca|
|00002de0| 72 64 4e 75 6d 20 6f 66 | 20 62 67 20 74 68 65 42 |rdNum of| bg theB|
|00002df0| 47 20 69 6e 74 6f 20 74 | 68 65 49 44 0d 70 75 74 |G into t|heID.put|
|00002e00| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00002e10| 20 69 6e 20 63 68 61 72 | 20 31 20 74 6f 20 c2 0d | in char| 1 to ..|
|00002e20| 6f 66 66 73 65 74 28 72 | 65 74 75 72 6e 20 26 20 |offset(r|eturn & |
|00002e30| 63 6f 6d 70 61 6e 79 4e | 61 6d 65 20 26 20 64 65 |companyN|ame & de|
|00002e40| 6c 69 6d 2c 20 72 65 74 | 75 72 6e 20 26 20 69 6e |lim, ret|urn & in|
|00002e50| 64 65 78 29 20 c2 0d 6f | 66 20 69 6e 64 65 78 20 |dex) ..o|f index |
|00002e60| 69 6e 74 6f 20 6c 69 6e | 65 4e 75 6d 0d 69 66 20 |into lin|eNum.if |
|00002e70| 6c 69 6e 65 4e 75 6d 20 | 69 73 20 30 20 74 68 65 |lineNum |is 0 the|
|00002e80| 6e 20 2d 2d 20 61 64 64 | 20 63 6f 6d 70 61 6e 79 |n -- add| company|
|00002e90| 20 61 6e 64 20 66 69 72 | 73 74 20 69 64 20 74 6f | and fir|st id to|
|00002ea0| 20 69 6e 64 65 78 0d 70 | 75 74 20 63 6f 6d 70 61 | index.p|ut compa|
|00002eb0| 6e 79 4e 61 6d 65 20 26 | 20 64 65 6c 69 6d 20 26 |nyName &| delim &|
|00002ec0| 20 74 68 65 49 44 20 26 | 20 72 65 74 75 72 6e 20 | theID &| return |
|00002ed0| 61 66 74 65 72 20 69 6e | 64 65 78 0d 65 6c 73 65 |after in|dex.else|
|00002ee0| 20 2d 2d 20 61 70 70 65 | 6e 64 20 6e 65 77 20 69 | -- appe|nd new i|
|00002ef0| 64 20 74 6f 20 63 6f 6d | 70 61 6e 79 0d 70 75 74 |d to com|pany.put|
|00002f00| 20 64 65 6c 69 6d 20 26 | 20 74 68 65 49 44 20 61 | delim &| theID a|
|00002f10| 66 74 65 72 20 6c 69 6e | 65 20 6c 69 6e 65 4e 75 |fter lin|e lineNu|
|00002f20| 6d 20 6f 66 20 69 6e 64 | 65 78 0d 65 6e 64 20 69 |m of ind|ex.end i|
|00002f30| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 20 2d 2d 20 |f.end re|peat -- |
|00002f40| 63 61 72 64 73 0d 65 6e | 64 20 72 65 70 65 61 74 |cards.en|d repeat|
|00002f50| 20 2d 2d 20 62 67 73 0d | 64 65 6c 65 74 65 20 6c | -- bgs.|delete l|
|00002f60| 61 73 74 20 63 68 61 72 | 20 6f 66 20 69 6e 64 65 |ast char| of inde|
|00002f70| 78 20 2d 2d 20 74 72 61 | 69 6c 69 6e 67 20 72 65 |x -- tra|iling re|
|00002f80| 74 75 72 6e 0d 0d 73 6f | 72 74 20 6c 69 6e 65 73 |turn..so|rt lines|
|00002f90| 20 6f 66 20 69 6e 64 65 | 78 0d 70 75 74 20 6c 69 | of inde|x.put li|
|00002fa0| 6e 6b 63 61 72 64 73 28 | 69 6e 64 65 78 2c 20 69 |nkcards(|index, i|
|00002fb0| 6e 64 65 78 4e 75 6d 62 | 65 72 29 20 69 6e 74 6f |ndexNumb|er) into|
|00002fc0| 20 69 6e 64 65 78 0d 0d | 70 75 74 20 22 49 6e 64 | index..|put "Ind|
|00002fd0| 65 78 22 20 26 26 20 49 | 6e 64 65 78 4e 75 6d 62 |ex" && I|ndexNumb|
|00002fe0| 65 72 20 69 6e 74 6f 20 | 69 6e 64 65 78 46 69 65 |er into |indexFie|
|00002ff0| 6c 64 0d 63 72 65 61 74 | 65 49 6e 64 65 78 46 69 |ld.creat|eIndexFi|
|00003000| 65 6c 64 20 69 6e 64 65 | 78 46 69 65 6c 64 0d 73 |eld inde|xField.s|
|00003010| 65 74 50 72 6f 70 65 72 | 74 69 65 73 20 69 6e 64 |etProper|ties ind|
|00003020| 65 78 46 69 65 6c 64 0d | 70 75 74 20 69 6e 64 65 |exField.|put inde|
|00003030| 78 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 69 6e |x into c|d fld in|
|00003040| 64 65 78 46 69 65 6c 64 | 0d 65 6e 64 20 63 72 65 |dexField|.end cre|
|00003050| 61 74 65 43 6f 6d 70 61 | 6e 79 4e 61 6d 65 49 6e |ateCompa|nyNameIn|
|00003060| 64 65 78 0d 0d 6f 6e 20 | 63 72 65 61 74 65 50 72 |dex..on |createPr|
|00003070| 6f 64 75 63 74 4e 61 6d | 65 49 6e 64 65 78 0d 70 |oductNam|eIndex.p|
|00003080| 75 74 20 22 a4 22 20 69 | 6e 74 6f 20 64 65 6c 69 |ut "." i|nto deli|
|00003090| 6d 0d 73 65 74 20 69 74 | 65 6d 44 65 6c 69 6d 69 |m.set it|emDelimi|
|000030a0| 74 65 72 20 74 6f 20 64 | 65 6c 69 6d 0d 70 75 74 |ter to d|elim.put|
|000030b0| 20 22 54 6f 6f 6c 73 a4 | 50 72 6f 64 75 63 74 73 | "Tools.|Products|
|000030c0| a4 50 75 62 6c 69 63 61 | 74 69 6f 6e 73 22 20 69 |.Publica|tions" i|
|000030d0| 6e 74 6f 20 74 68 65 42 | 47 73 0d 70 75 74 20 22 |nto theB|Gs.put "|
|000030e0| 54 6f 6f 6c 20 4e 61 6d | 65 a4 50 72 6f 64 75 63 |Tool Nam|e.Produc|
|000030f0| 74 20 4e 61 6d 65 a4 50 | 75 62 6c 69 63 61 74 69 |t Name.P|ublicati|
|00003100| 6f 6e 20 54 69 74 6c 65 | 22 20 69 6e 74 6f 20 74 |on Title|" into t|
|00003110| 68 65 46 69 65 6c 64 73 | 0d 70 75 74 20 45 4d 50 |heFields|.put EMP|
|00003120| 54 59 20 69 6e 74 6f 20 | 69 6e 64 65 78 0d 70 75 |TY into |index.pu|
|00003130| 74 20 32 20 69 6e 74 6f | 20 49 6e 64 65 78 4e 75 |t 2 into| IndexNu|
|00003140| 6d 62 65 72 0d 0d 2d 2d | 20 63 6f 6c 6c 65 63 74 |mber..--| collect|
|00003150| 20 63 61 72 64 20 69 64 | 73 20 61 6e 64 20 61 73 | card id|s and as|
|00003160| 73 6f 63 69 61 74 65 20 | 74 68 65 6d 20 70 72 6f |sociate |them pro|
|00003170| 64 75 63 74 20 6e 61 6d | 65 73 0d 72 65 70 65 61 |duct nam|es.repea|
|00003180| 74 20 77 69 74 68 20 62 | 67 4e 75 6d 20 3d 20 31 |t with b|gNum = 1|
|00003190| 20 74 6f 20 6e 75 6d 62 | 65 72 20 6f 66 20 69 74 | to numb|er of it|
|000031a0| 65 6d 73 20 6f 66 20 74 | 68 65 42 47 73 0d 2d 2d |ems of t|heBGs.--|
|000031b0| 20 67 65 6e 65 72 61 74 | 65 20 63 61 72 64 20 69 | generat|e card i|
|000031c0| 64 20 6c 69 73 74 73 20 | 66 6f 72 20 63 61 72 64 |d lists |for card|
|000031d0| 20 6f 66 20 74 68 69 73 | 20 62 67 0d 70 75 74 20 | of this| bg.put |
|000031e0| 69 74 65 6d 20 62 67 4e | 75 6d 20 6f 66 20 74 68 |item bgN|um of th|
|000031f0| 65 42 47 73 20 69 6e 74 | 6f 20 74 68 65 42 47 0d |eBGs int|o theBG.|
|00003200| 70 75 74 20 69 74 65 6d | 20 62 67 4e 75 6d 20 6f |put item| bgNum o|
|00003210| 66 20 74 68 65 46 69 65 | 6c 64 73 20 69 6e 74 6f |f theFie|lds into|
|00003220| 20 70 72 6f 64 46 6c 64 | 4e 61 6d 65 0d 70 75 74 | prodFld|Name.put|
|00003230| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 64 73 20 6f | number |of cds o|
|00003240| 66 20 62 67 20 74 68 65 | 42 47 20 69 6e 74 6f 20 |f bg the|BG into |
|00003250| 6e 43 61 72 64 73 0d 72 | 65 70 65 61 74 20 77 69 |nCards.r|epeat wi|
|00003260| 74 68 20 63 61 72 64 4e | 75 6d 20 3d 20 31 20 74 |th cardN|um = 1 t|
|00003270| 6f 20 6e 43 61 72 64 73 | 0d 73 65 74 20 63 75 72 |o nCards|.set cur|
|00003280| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 70 75 74 20 |sor to b|usy.put |
|00003290| 6c 69 6e 65 20 31 20 6f | 66 20 66 6c 64 20 70 72 |line 1 o|f fld pr|
|000032a0| 6f 64 46 6c 64 4e 61 6d | 65 20 6f 66 20 63 61 72 |odFldNam|e of car|
|000032b0| 64 20 63 61 72 64 4e 75 | 6d 20 6f 66 20 62 67 20 |d cardNu|m of bg |
|000032c0| 74 68 65 42 47 20 69 6e | 74 6f 20 70 72 6f 64 75 |theBG in|to produ|
|000032d0| 63 74 4e 61 6d 65 0d 69 | 66 20 70 72 6f 64 75 63 |ctName.i|f produc|
|000032e0| 74 4e 61 6d 65 20 69 73 | 20 65 6d 70 74 79 20 74 |tName is| empty t|
|000032f0| 68 65 6e 20 6e 65 78 74 | 20 72 65 70 65 61 74 0d |hen next| repeat.|
|00003300| 70 75 74 20 74 68 65 20 | 73 68 6f 72 74 20 69 64 |put the |short id|
|00003310| 20 6f 66 20 63 61 72 64 | 20 63 61 72 64 4e 75 6d | of card| cardNum|
|00003320| 20 6f 66 20 62 67 20 74 | 68 65 42 47 20 69 6e 74 | of bg t|heBG int|
|00003330| 6f 20 74 68 65 49 44 0d | 70 75 74 20 70 72 6f 64 |o theID.|put prod|
|00003340| 75 63 74 4e 61 6d 65 20 | 26 20 64 65 6c 69 6d 20 |uctName |& delim |
|00003350| 26 20 74 68 65 49 44 20 | 26 20 72 65 74 75 72 6e |& theID |& return|
|00003360| 20 61 66 74 65 72 20 69 | 6e 64 65 78 0d 65 6e 64 | after i|ndex.end|
|00003370| 20 72 65 70 65 61 74 20 | 2d 2d 20 63 61 72 64 73 | repeat |-- cards|
|00003380| 0d 65 6e 64 20 72 65 70 | 65 61 74 20 2d 2d 20 62 |.end rep|eat -- b|
|00003390| 67 73 0d 64 65 6c 65 74 | 65 20 6c 61 73 74 20 63 |gs.delet|e last c|
|000033a0| 68 61 72 20 6f 66 20 69 | 6e 64 65 78 20 2d 2d 20 |har of i|ndex -- |
|000033b0| 74 72 61 69 6c 69 6e 67 | 20 72 65 74 75 72 6e 0d |trailing| return.|
|000033c0| 0d 73 6f 72 74 20 6c 69 | 6e 65 73 20 6f 66 20 69 |.sort li|nes of i|
|000033d0| 6e 64 65 78 0d 70 75 74 | 20 6c 69 6e 6b 63 61 72 |ndex.put| linkcar|
|000033e0| 64 73 28 69 6e 64 65 78 | 2c 20 69 6e 64 65 78 4e |ds(index|, indexN|
|000033f0| 75 6d 62 65 72 29 20 69 | 6e 74 6f 20 69 6e 64 65 |umber) i|nto inde|
|00003400| 78 0d 0d 70 75 74 20 22 | 49 6e 64 65 78 22 20 26 |x..put "|Index" &|
|00003410| 26 20 49 6e 64 65 78 4e | 75 6d 62 65 72 20 69 6e |& IndexN|umber in|
|00003420| 74 6f 20 69 6e 64 65 78 | 46 69 65 6c 64 0d 63 72 |to index|Field.cr|
|00003430| 65 61 74 65 49 6e 64 65 | 78 46 69 65 6c 64 20 69 |eateInde|xField i|
|00003440| 6e 64 65 78 46 69 65 6c | 64 0d 73 65 74 50 72 6f |ndexFiel|d.setPro|
|00003450| 70 65 72 74 69 65 73 20 | 69 6e 64 65 78 46 69 65 |perties |indexFie|
|00003460| 6c 64 0d 70 75 74 20 69 | 6e 64 65 78 20 69 6e 74 |ld.put i|ndex int|
|00003470| 6f 20 63 64 20 66 6c 64 | 20 69 6e 64 65 78 46 69 |o cd fld| indexFi|
|00003480| 65 6c 64 0d 65 6e 64 20 | 63 72 65 61 74 65 50 72 |eld.end |createPr|
|00003490| 6f 64 75 63 74 4e 61 6d | 65 49 6e 64 65 78 0d 0d |oductNam|eIndex..|
|000034a0| 6f 6e 20 63 72 65 61 74 | 65 52 65 67 69 6f 6e 41 |on creat|eRegionA|
|000034b0| 6e 64 53 70 65 63 69 61 | 6c 74 79 4d 61 74 72 69 |ndSpecia|ltyMatri|
|000034c0| 78 49 6e 64 65 78 65 73 | 0d 70 75 74 20 62 74 6e |xIndexes|.put btn|
|000034d0| 20 52 65 67 69 6f 6e 20 | 69 6e 74 6f 20 72 65 67 | Region |into reg|
|000034e0| 69 6f 6e 73 0d 64 65 6c | 65 74 65 20 6c 61 73 74 |ions.del|ete last|
|000034f0| 20 6c 69 6e 65 20 6f 66 | 20 72 65 67 69 6f 6e 73 | line of| regions|
|00003500| 20 2d 2d 20 6f 6e 20 61 | 63 63 6f 75 6e 74 20 6f | -- on a|ccount o|
|00003510| 66 20 74 68 65 20 73 65 | 70 61 72 61 74 6f 72 20 |f the se|parator |
|00003520| 62 61 72 0d 70 75 74 20 | 62 74 6e 20 53 70 65 63 |bar.put |btn Spec|
|00003530| 69 61 6c 74 79 20 69 6e | 74 6f 20 73 70 65 63 69 |ialty in|to speci|
|00003540| 61 6c 74 69 65 73 0d 64 | 65 6c 65 74 65 20 6c 61 |alties.d|elete la|
|00003550| 73 74 20 6c 69 6e 65 20 | 6f 66 20 73 70 65 63 69 |st line |of speci|
|00003560| 61 6c 74 69 65 73 20 2d | 2d 20 6f 6e 20 61 63 63 |alties -|- on acc|
|00003570| 6f 75 6e 74 20 6f 66 20 | 74 68 65 20 73 65 70 61 |ount of |the sepa|
|00003580| 72 61 74 6f 72 20 62 61 | 72 0d 70 75 74 20 6e 75 |rator ba|r.put nu|
|00003590| 6d 62 65 72 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e |mber of |lines in|
|000035a0| 20 72 65 67 69 6f 6e 73 | 20 69 6e 74 6f 20 72 4e | regions| into rN|
|000035b0| 75 6d 0d 70 75 74 20 6e | 75 6d 62 65 72 20 6f 66 |um.put n|umber of|
|000035c0| 20 6c 69 6e 65 73 20 69 | 6e 20 73 70 65 63 69 61 | lines i|n specia|
|000035d0| 6c 74 69 65 73 20 69 6e | 74 6f 20 73 4e 75 6d 0d |lties in|to sNum.|
|000035e0| 72 65 70 65 61 74 20 77 | 69 74 68 20 72 20 3d 20 |repeat w|ith r = |
|000035f0| 31 20 74 6f 20 72 4e 75 | 6d 0d 70 75 74 20 6c 69 |1 to rNu|m.put li|
|00003600| 6e 65 20 72 20 6f 66 20 | 72 65 67 69 6f 6e 73 20 |ne r of |regions |
|00003610| 69 6e 74 6f 20 74 68 65 | 52 65 67 69 6f 6e 0d 72 |into the|Region.r|
|00003620| 65 70 65 61 74 20 77 69 | 74 68 20 73 20 3d 20 31 |epeat wi|th s = 1|
|00003630| 20 74 6f 20 73 4e 75 6d | 0d 70 75 74 20 20 32 20 | to sNum|.put 2 |
|00003640| 2b 28 72 2d 31 29 2a 73 | 4e 75 6d 20 2b 20 73 20 |+(r-1)*s|Num + s |
|00003650| 69 6e 74 6f 20 69 6e 64 | 65 78 4e 75 6d 62 65 72 |into ind|exNumber|
|00003660| 0d 70 75 74 20 22 49 6e | 64 65 78 22 20 26 26 20 |.put "In|dex" && |
|00003670| 69 6e 64 65 78 4e 75 6d | 62 65 72 20 69 6e 74 6f |indexNum|ber into|
|00003680| 20 69 6e 64 65 78 46 69 | 65 6c 64 0d 63 72 65 61 | indexFi|eld.crea|
|00003690| 74 65 49 6e 64 65 78 46 | 69 65 6c 64 20 69 6e 64 |teIndexF|ield ind|
|000036a0| 65 78 46 69 65 6c 64 0d | 73 65 74 50 72 6f 70 65 |exField.|setPrope|
|000036b0| 72 74 69 65 73 20 69 6e | 64 65 78 46 69 65 6c 64 |rties in|dexField|
|000036c0| 0d 70 75 74 20 6c 69 6e | 65 20 73 20 6f 66 20 73 |.put lin|e s of s|
|000036d0| 70 65 63 69 61 6c 74 69 | 65 73 20 69 6e 74 6f 20 |pecialti|es into |
|000036e0| 74 68 65 53 70 65 63 69 | 61 6c 74 79 0d 70 75 74 |theSpeci|alty.put|
|000036f0| 20 63 6f 6c 6c 65 63 74 | 49 6e 64 65 78 28 74 68 | collect|Index(th|
|00003700| 65 52 65 67 69 6f 6e 2c | 74 68 65 53 70 65 63 69 |eRegion,|theSpeci|
|00003710| 61 6c 74 79 29 20 69 6e | 74 6f 20 69 6e 64 65 78 |alty) in|to index|
|00003720| 0d 70 75 74 20 6c 69 6e | 6b 63 61 72 64 73 28 69 |.put lin|kcards(i|
|00003730| 6e 64 65 78 2c 20 69 6e | 64 65 78 4e 75 6d 62 65 |ndex, in|dexNumbe|
|00003740| 72 29 20 69 6e 74 6f 20 | 69 6e 64 65 78 0d 69 66 |r) into |index.if|
|00003750| 20 69 6e 64 65 78 20 69 | 73 20 45 4d 50 54 59 20 | index i|s EMPTY |
|00003760| 74 68 65 6e 20 70 75 74 | 20 22 4e 6f 6e 65 20 66 |then put| "None f|
|00003770| 6f 75 6e 64 2e a4 a5 22 | 20 69 6e 74 6f 20 69 6e |ound..."| into in|
|00003780| 64 65 78 0d 70 75 74 20 | 69 6e 64 65 78 20 69 6e |dex.put |index in|
|00003790| 74 6f 20 63 64 20 66 6c | 64 20 69 6e 64 65 78 46 |to cd fl|d indexF|
|000037a0| 69 65 6c 64 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |ield.end| repeat.|
|000037b0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 63 |end repe|at.end c|
|000037c0| 72 65 61 74 65 52 65 67 | 69 6f 6e 41 6e 64 53 70 |reateReg|ionAndSp|
|000037d0| 65 63 69 61 6c 74 79 4d | 61 74 72 69 78 49 6e 64 |ecialtyM|atrixInd|
|000037e0| 65 78 65 73 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 72 |exes..fu|nction r|
|000037f0| 65 67 69 6f 6e 41 6e 64 | 53 70 65 63 69 61 6c 74 |egionAnd|Specialt|
|00003800| 79 49 6e 64 65 78 4e 75 | 6d 62 65 72 0d 2d 2d 20 |yIndexNu|mber.-- |
|00003810| 47 65 6e 65 72 61 74 65 | 73 20 74 68 65 20 6e 75 |Generate|s the nu|
|00003820| 6d 62 65 72 20 6f 66 20 | 74 68 65 20 69 6e 64 65 |mber of |the inde|
|00003830| 78 20 66 6f 72 20 74 68 | 65 20 73 65 6c 65 63 74 |x for th|e select|
|00003840| 65 64 20 72 65 67 69 6f | 6e 20 61 6e 64 20 73 70 |ed regio|n and sp|
|00003850| 65 63 69 61 6c 74 79 2c | 0d 2d 2d 20 61 73 73 75 |ecialty,|.-- assu|
|00003860| 6d 69 6e 67 20 74 68 65 | 20 6c 61 73 74 20 74 77 |ming the| last tw|
|00003870| 6f 20 6c 69 6e 65 73 20 | 6f 66 20 65 61 63 68 20 |o lines |of each |
|00003880| 70 6f 70 75 70 20 61 72 | 65 20 22 2d 22 20 61 6e |popup ar|e "-" an|
|00003890| 64 20 22 41 6c 6c 22 0d | 70 75 74 20 28 6e 75 6d |d "All".|put (num|
|000038a0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|000038b0| 62 74 6e 20 22 52 65 67 | 69 6f 6e 22 29 20 69 6e |btn "Reg|ion") in|
|000038c0| 74 6f 20 72 4e 75 6d 0d | 70 75 74 20 28 6e 75 6d |to rNum.|put (num|
|000038d0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 69 6e 20 |ber of l|ines in |
|000038e0| 62 74 6e 20 22 53 70 65 | 63 69 61 6c 74 79 22 29 |btn "Spe|cialty")|
|000038f0| 20 69 6e 74 6f 20 73 4e | 75 6d 0d 70 75 74 20 77 | into sN|um.put w|
|00003900| 6f 72 64 20 32 20 6f 66 | 20 74 68 65 20 73 65 6c |ord 2 of| the sel|
|00003910| 65 63 74 65 64 4c 69 6e | 65 20 6f 66 20 62 74 6e |ectedLin|e of btn|
|00003920| 20 22 72 65 67 69 6f 6e | 22 20 69 6e 74 6f 20 72 | "region|" into r|
|00003930| 0d 70 75 74 20 77 6f 72 | 64 20 32 20 6f 66 20 74 |.put wor|d 2 of t|
|00003940| 68 65 20 73 65 6c 65 63 | 74 65 64 4c 69 6e 65 20 |he selec|tedLine |
|00003950| 6f 66 20 62 74 6e 20 22 | 73 70 65 63 69 61 6c 74 |of btn "|specialt|
|00003960| 79 22 20 69 6e 74 6f 20 | 73 0d 0d 2d 2d 20 63 6f |y" into |s..-- co|
|00003970| 6d 70 65 6e 73 61 74 65 | 20 66 6f 72 20 74 68 65 |mpensate| for the|
|00003980| 20 73 65 70 61 72 61 74 | 6f 72 20 62 65 66 6f 72 | separat|or befor|
|00003990| 65 20 22 41 6c 6c 22 0d | 69 66 20 72 20 69 73 20 |e "All".|if r is |
|000039a0| 72 4e 75 6d 20 74 68 65 | 6e 20 73 75 62 74 72 61 |rNum the|n subtra|
|000039b0| 63 74 20 31 20 66 72 6f | 6d 20 72 0d 69 66 20 73 |ct 1 fro|m r.if s|
|000039c0| 20 69 73 20 73 4e 75 6d | 20 74 68 65 6e 20 73 75 | is sNum| then su|
|000039d0| 62 74 72 61 63 74 20 31 | 20 66 72 6f 6d 20 73 0d |btract 1| from s.|
|000039e0| 0d 70 75 74 20 73 4e 75 | 6d 2d 31 20 69 6e 74 6f |.put sNu|m-1 into|
|000039f0| 20 73 70 65 63 69 61 6c | 74 69 65 73 0d 70 75 74 | special|ties.put|
|00003a00| 20 33 20 69 6e 74 6f 20 | 62 61 73 65 49 6e 64 65 | 3 into |baseInde|
|00003a10| 78 0d 70 75 74 20 62 61 | 73 65 49 6e 64 65 78 20 |x.put ba|seIndex |
|00003a20| 2b 20 28 72 2d 31 29 2a | 73 70 65 63 69 61 6c 74 |+ (r-1)*|specialt|
|00003a30| 69 65 73 20 2b 20 73 2d | 31 20 69 6e 74 6f 20 69 |ies + s-|1 into i|
|00003a40| 6e 64 65 78 4e 75 6d 62 | 65 72 0d 72 65 74 75 72 |ndexNumb|er.retur|
|00003a50| 6e 20 69 6e 64 65 78 4e | 75 6d 62 65 72 0d 65 6e |n indexN|umber.en|
|00003a60| 64 20 72 65 67 69 6f 6e | 41 6e 64 53 70 65 63 69 |d region|AndSpeci|
|00003a70| 61 6c 74 79 49 6e 64 65 | 78 4e 75 6d 62 65 72 0d |altyInde|xNumber.|
|00003a80| 0d 66 75 6e 63 74 69 6f | 6e 20 6c 69 6e 6b 63 61 |.functio|n linkca|
|00003a90| 72 64 73 20 69 6e 64 65 | 78 2c 20 69 6e 64 65 78 |rds inde|x, index|
|00003aa0| 4e 75 6d 62 65 72 0d 2d | 2d 20 53 74 75 66 66 20 |Number.-|- Stuff |
|00003ab0| 6c 69 6e 6b 20 66 69 65 | 6c 64 73 20 6f 66 20 65 |link fie|lds of e|
|00003ac0| 61 63 68 20 63 61 72 64 | 2e 20 52 65 74 75 72 6e |ach card|. Return|
|00003ad0| 20 49 6e 64 65 78 20 77 | 69 74 68 20 6f 6e 6c 79 | Index w|ith only|
|00003ae0| 20 6f 6e 65 20 63 61 72 | 64 49 44 20 70 65 72 20 | one car|dID per |
|00003af0| 6c 69 6e 65 0d 2d 2d 20 | 49 6e 64 65 78 20 63 6f |line.-- |Index co|
|00003b00| 6e 74 61 69 6e 73 20 61 | 20 72 65 74 75 72 6e 20 |ntains a| return |
|00003b10| 64 65 6c 69 6d 69 74 65 | 64 20 6c 69 73 74 20 6f |delimite|d list o|
|00003b20| 66 20 6b 65 79 73 2c 20 | 65 61 63 68 20 66 6f 6c |f keys, |each fol|
|00003b30| 6c 6f 77 65 64 20 62 79 | 20 6f 6e 65 20 6f 72 20 |lowed by| one or |
|00003b40| 6d 6f 72 65 20 63 61 72 | 64 20 69 64 73 2e 0d 2d |more car|d ids..-|
|00003b50| 2d 20 49 6e 64 65 78 20 | 6e 75 6d 62 65 72 20 69 |- Index |number i|
|00003b60| 6e 64 69 63 61 74 65 73 | 20 6f 6e 20 77 68 69 63 |ndicates| on whic|
|00003b70| 68 20 6c 69 6e 65 20 6f | 66 20 74 68 65 20 6c 69 |h line o|f the li|
|00003b80| 6e 6b 46 69 65 6c 64 73 | 2c 20 74 68 65 20 6c 69 |nkFields|, the li|
|00003b90| 6e 6b 20 69 64 73 20 73 | 68 6f 75 6c 64 20 62 65 |nk ids s|hould be|
|00003ba0| 20 70 6c 61 63 65 64 2e | 0d 70 75 74 20 22 4c 69 | placed.|.put "Li|
|00003bb0| 6e 6b 69 6e 67 20 63 61 | 72 64 73 20 66 6f 72 20 |nking ca|rds for |
|00003bc0| 69 6e 64 65 78 22 20 26 | 26 20 69 6e 64 65 78 4e |index" &|& indexN|
|00003bd0| 75 6d 62 65 72 20 2d 2d | a5 a5 20 6d 61 79 20 62 |umber --|.. may b|
|00003be0| 65 20 72 65 6d 6f 76 65 | 64 0d 70 75 74 20 22 a4 |e remove|d.put ".|
|00003bf0| 22 20 69 6e 74 6f 20 64 | 65 6c 69 6d 0d 73 65 74 |" into d|elim.set|
|00003c00| 20 69 74 65 6d 44 65 6c | 69 6d 69 74 65 72 20 74 | itemDel|imiter t|
|00003c10| 6f 20 64 65 6c 69 6d 0d | 70 75 74 20 6e 75 6d 62 |o delim.|put numb|
|00003c20| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 6f 66 20 69 |er of li|nes of i|
|00003c30| 6e 64 65 78 20 69 6e 74 | 6f 20 6e 4c 69 6e 65 73 |ndex int|o nLines|
|00003c40| 0d 70 75 74 20 45 4d 50 | 54 59 20 69 6e 74 6f 20 |.put EMP|TY into |
|00003c50| 70 72 65 76 4c 69 6e 6b | 0d 72 65 70 65 61 74 20 |prevLink|.repeat |
|00003c60| 77 69 74 68 20 6c 69 6e | 65 4e 75 6d 20 3d 20 31 |with lin|eNum = 1|
|00003c70| 20 74 6f 20 6e 4c 69 6e | 65 73 0d 70 75 74 20 6c | to nLin|es.put l|
|00003c80| 69 6e 65 20 6c 69 6e 65 | 4e 75 6d 20 6f 66 20 69 |ine line|Num of i|
|00003c90| 6e 64 65 78 20 69 6e 74 | 6f 20 74 68 65 4c 69 6e |ndex int|o theLin|
|00003ca0| 65 43 6f 6e 74 65 6e 74 | 0d 70 75 74 20 6e 75 6d |eContent|.put num|
|00003cb0| 62 65 72 20 6f 66 20 69 | 74 65 6d 73 20 6f 66 20 |ber of i|tems of |
|00003cc0| 74 68 65 4c 69 6e 65 43 | 6f 6e 74 65 6e 74 20 69 |theLineC|ontent i|
|00003cd0| 6e 74 6f 20 6e 49 74 65 | 6d 73 0d 72 65 70 65 61 |nto nIte|ms.repea|
|00003ce0| 74 20 77 69 74 68 20 69 | 74 65 6d 4e 75 6d 20 3d |t with i|temNum =|
|00003cf0| 20 32 20 74 6f 20 6e 49 | 74 65 6d 73 0d 70 75 74 | 2 to nI|tems.put|
|00003d00| 20 69 74 65 6d 20 69 74 | 65 6d 4e 75 6d 20 6f 66 | item it|emNum of|
|00003d10| 20 74 68 65 4c 69 6e 65 | 43 6f 6e 74 65 6e 74 20 | theLine|Content |
|00003d20| 69 6e 74 6f 20 74 68 65 | 49 44 0d 70 75 74 20 69 |into the|ID.put i|
|00003d30| 74 65 6d 20 69 74 65 6d | 4e 75 6d 2b 31 20 6f 66 |tem item|Num+1 of|
|00003d40| 20 74 68 65 4c 69 6e 65 | 43 6f 6e 74 65 6e 74 20 | theLine|Content |
|00003d50| 69 6e 74 6f 20 6e 65 78 | 74 49 44 0d 69 66 20 6e |into nex|tID.if n|
|00003d60| 65 78 74 49 44 20 69 73 | 20 45 4d 50 54 59 20 41 |extID is| EMPTY A|
|00003d70| 4e 44 20 6c 69 6e 65 4e | 75 6d 20 3c 20 6e 4c 69 |ND lineN|um < nLi|
|00003d80| 6e 65 73 20 74 68 65 6e | 0d 70 75 74 20 69 74 65 |nes then|.put ite|
|00003d90| 6d 20 32 20 6f 66 20 6c | 69 6e 65 20 6c 69 6e 65 |m 2 of l|ine line|
|00003da0| 4e 75 6d 2b 31 20 6f 66 | 20 69 6e 64 65 78 20 69 |Num+1 of| index i|
|00003db0| 6e 74 6f 20 6e 65 78 74 | 49 44 20 2d 2d 20 6c 69 |nto next|ID -- li|
|00003dc0| 6e 6b 20 74 6f 20 66 69 | 72 73 74 20 63 61 72 64 |nk to fi|rst card|
|00003dd0| 20 6f 66 20 6e 65 78 74 | 20 6c 69 6e 65 49 74 65 | of next| lineIte|
|00003de0| 6d 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 70 72 65 |m.end if|.put pre|
|00003df0| 76 4c 69 6e 6b 20 69 6e | 74 6f 20 6c 69 6e 65 20 |vLink in|to line |
|00003e00| 49 6e 64 65 78 4e 75 6d | 62 65 72 20 6f 66 20 66 |IndexNum|ber of f|
|00003e10| 6c 64 20 22 70 72 65 76 | 4c 69 6e 6b 73 22 20 6f |ld "prev|Links" o|
|00003e20| 66 20 63 64 20 69 64 20 | 74 68 65 49 44 0d 70 75 |f cd id |theID.pu|
|00003e30| 74 20 74 68 65 49 44 20 | 69 6e 74 6f 20 70 72 65 |t theID |into pre|
|00003e40| 76 4c 69 6e 6b 0d 70 75 | 74 20 6e 65 78 74 49 44 |vLink.pu|t nextID|
|00003e50| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 49 6e 64 65 78 | into li|ne Index|
|00003e60| 4e 75 6d 62 65 72 20 6f | 66 20 66 6c 64 20 22 6e |Number o|f fld "n|
|00003e70| 65 78 74 4c 69 6e 6b 73 | 22 20 6f 66 20 63 64 20 |extLinks|" of cd |
|00003e80| 69 64 20 74 68 65 49 44 | 0d 65 6e 64 20 72 65 70 |id theID|.end rep|
|00003e90| 65 61 74 20 2d 2d 20 69 | 74 65 6d 73 0d 70 75 74 |eat -- i|tems.put|
|00003ea0| 20 69 74 65 6d 20 31 20 | 74 6f 20 32 20 6f 66 20 | item 1 |to 2 of |
|00003eb0| 74 68 65 4c 69 6e 65 43 | 6f 6e 74 65 6e 74 20 69 |theLineC|ontent i|
|00003ec0| 6e 74 6f 20 6c 69 6e 65 | 20 6c 69 6e 65 4e 75 6d |nto line| lineNum|
|00003ed0| 20 6f 66 20 69 6e 64 65 | 78 0d 65 6e 64 20 72 65 | of inde|x.end re|
|00003ee0| 70 65 61 74 20 2d 2d 20 | 6c 69 6e 65 73 0d 72 65 |peat -- |lines.re|
|00003ef0| 74 75 72 6e 20 69 6e 64 | 65 78 0d 65 6e 64 20 6c |turn ind|ex.end l|
|00003f00| 69 6e 6b 63 61 72 64 73 | 0d 0d 66 75 6e 63 74 69 |inkcards|..functi|
|00003f10| 6f 6e 20 63 6f 6c 6c 65 | 63 74 49 6e 64 65 78 20 |on colle|ctIndex |
|00003f20| 74 68 65 52 65 67 69 6f | 6e 2c 74 68 65 53 70 65 |theRegio|n,theSpe|
|00003f30| 63 69 61 6c 74 79 0d 2d | 2d 69 66 20 74 68 65 52 |cialty.-|-if theR|
|00003f40| 65 67 69 6f 6e 20 6f 72 | 20 74 68 65 53 70 65 63 |egion or| theSpec|
|00003f50| 69 61 6c 74 79 20 69 73 | 20 22 2d 22 20 69 74 20 |ialty is| "-" it |
|00003f60| 69 73 20 74 72 65 61 74 | 65 64 20 61 73 20 61 20 |is treat|ed as a |
|00003f70| 77 69 6c 64 20 63 61 72 | 64 0d 70 75 74 20 22 43 |wild car|d.put "C|
|00003f80| 6f 6e 73 75 6c 74 69 6e | 67 a4 54 72 61 69 6e 69 |onsultin|g.Traini|
|00003f90| 6e 67 22 20 69 6e 74 6f | 20 74 68 65 42 47 73 0d |ng" into| theBGs.|
|00003fa0| 70 75 74 20 22 a4 22 20 | 69 6e 74 6f 20 64 65 6c |put "." |into del|
|00003fb0| 69 6d 0d 70 75 74 20 45 | 4d 50 54 59 20 69 6e 74 |im.put E|MPTY int|
|00003fc0| 6f 20 69 6e 64 65 78 0d | 2d 2d 20 63 6f 6c 6c 65 |o index.|-- colle|
|00003fd0| 63 74 20 63 61 72 64 20 | 69 64 73 20 61 6e 64 20 |ct card |ids and |
|00003fe0| 61 73 73 6f 63 69 61 74 | 65 20 74 68 65 6d 20 43 |associat|e them C|
|00003ff0| 6f 6d 70 61 6e 79 20 4e | 61 6d 65 73 0d 72 65 70 |ompany N|ames.rep|
|00004000| 65 61 74 20 77 69 74 68 | 20 62 67 4e 75 6d 20 3d |eat with| bgNum =|
|00004010| 20 31 20 74 6f 20 6e 75 | 6d 62 65 72 20 6f 66 20 | 1 to nu|mber of |
|00004020| 69 74 65 6d 73 20 6f 66 | 20 74 68 65 42 47 73 0d |items of| theBGs.|
|00004030| 2d 2d 20 67 65 6e 65 72 | 61 74 65 20 63 61 72 64 |-- gener|ate card|
|00004040| 20 69 64 20 6c 69 73 74 | 73 20 66 6f 72 20 63 61 | id list|s for ca|
|00004050| 72 64 20 6f 66 20 74 68 | 69 73 20 62 67 0d 70 75 |rd of th|is bg.pu|
|00004060| 74 20 69 74 65 6d 20 62 | 67 4e 75 6d 20 6f 66 20 |t item b|gNum of |
|00004070| 74 68 65 42 47 73 20 69 | 6e 74 6f 20 74 68 65 42 |theBGs i|nto theB|
|00004080| 47 0d 70 75 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 |G.put nu|mber of |
|00004090| 63 64 73 20 6f 66 20 62 | 67 20 74 68 65 42 47 20 |cds of b|g theBG |
|000040a0| 69 6e 74 6f 20 6e 43 61 | 72 64 73 0d 72 65 70 65 |into nCa|rds.repe|
|000040b0| 61 74 20 77 69 74 68 20 | 63 61 72 64 4e 75 6d 20 |at with |cardNum |
|000040c0| 3d 20 31 20 74 6f 20 6e | 43 61 72 64 73 0d 73 65 |= 1 to n|Cards.se|
|000040d0| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|000040e0| 0d 0d 2d 2d 20 73 6b 69 | 70 20 63 61 72 64 73 20 |..-- ski|p cards |
|000040f0| 74 68 61 74 20 64 6f 6e | 27 74 20 6d 65 65 74 20 |that don|'t meet |
|00004100| 69 6e 64 65 78 20 63 72 | 69 74 65 72 69 61 0d 70 |index cr|iteria.p|
|00004110| 75 74 20 6c 69 6e 65 20 | 31 20 6f 66 20 66 6c 64 |ut line |1 of fld|
|00004120| 20 22 72 65 67 69 6f 6e | 22 20 6f 66 20 63 61 72 | "region|" of car|
|00004130| 64 20 63 61 72 64 4e 75 | 6d 20 6f 66 20 62 67 20 |d cardNu|m of bg |
|00004140| 74 68 65 42 47 20 69 6e | 74 6f 20 72 65 67 69 6f |theBG in|to regio|
|00004150| 6e 0d 69 66 20 72 65 67 | 69 6f 6e 20 69 73 20 65 |n.if reg|ion is e|
|00004160| 6d 70 74 79 20 74 68 65 | 6e 20 6e 65 78 74 20 72 |mpty the|n next r|
|00004170| 65 70 65 61 74 0d 69 66 | 20 72 65 67 69 6f 6e 20 |epeat.if| region |
|00004180| 3c 3e 20 74 68 65 52 65 | 67 69 6f 6e 20 41 4e 44 |<> theRe|gion AND|
|00004190| 20 74 68 65 52 65 67 69 | 6f 6e 20 3c 3e 20 22 2d | theRegi|on <> "-|
|000041a0| 22 20 74 68 65 6e 20 6e | 65 78 74 20 72 65 70 65 |" then n|ext repe|
|000041b0| 61 74 0d 69 66 20 74 68 | 65 53 70 65 63 69 61 6c |at.if th|eSpecial|
|000041c0| 74 79 20 3c 3e 20 22 2d | 22 20 74 68 65 6e 0d 69 |ty <> "-|" then.i|
|000041d0| 66 20 74 68 65 42 47 20 | 69 73 20 22 43 6f 6e 73 |f theBG |is "Cons|
|000041e0| 75 6c 74 69 6e 67 22 20 | 74 68 65 6e 0d 69 66 20 |ulting" |then.if |
|000041f0| 68 69 6c 69 67 68 74 20 | 6f 66 20 62 67 20 62 74 |hilight |of bg bt|
|00004200| 6e 20 74 68 65 53 70 65 | 63 69 61 6c 74 79 20 6f |n theSpe|cialty o|
|00004210| 66 20 63 61 72 64 20 63 | 61 72 64 4e 75 6d 20 6f |f card c|ardNum o|
|00004220| 66 20 62 67 20 74 68 65 | 42 47 20 3c 3e 20 54 52 |f bg the|BG <> TR|
|00004230| 55 45 20 74 68 65 6e 0d | 6e 65 78 74 20 72 65 70 |UE then.|next rep|
|00004240| 65 61 74 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 20 |eat.end |if.else |
|00004250| 2d 2d 20 62 67 20 69 73 | 20 22 54 72 61 69 6e 69 |-- bg is| "Traini|
|00004260| 6e 67 22 0d 69 66 20 74 | 68 65 53 70 65 63 69 61 |ng".if t|heSpecia|
|00004270| 6c 74 79 20 3c 3e 20 22 | 54 72 61 69 6e 69 6e 67 |lty <> "|Training|
|00004280| 22 20 74 68 65 6e 0d 6e | 65 78 74 20 72 65 70 65 |" then.n|ext repe|
|00004290| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |at.end i|f.end if|
|000042a0| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 6c 69 6e 65 |.end if.|put line|
|000042b0| 20 31 20 6f 66 20 66 6c | 64 20 22 43 6f 6d 70 61 | 1 of fl|d "Compa|
|000042c0| 6e 79 20 4e 61 6d 65 22 | 20 6f 66 20 63 61 72 64 |ny Name"| of card|
|000042d0| 20 63 61 72 64 4e 75 6d | 20 6f 66 20 62 67 20 74 | cardNum| of bg t|
|000042e0| 68 65 42 47 20 69 6e 74 | 6f 20 63 6f 6d 70 61 6e |heBG int|o compan|
|000042f0| 79 4e 61 6d 65 0d 70 75 | 74 20 74 68 65 20 73 68 |yName.pu|t the sh|
|00004300| 6f 72 74 20 69 64 20 6f | 66 20 63 61 72 64 20 63 |ort id o|f card c|
|00004310| 61 72 64 4e 75 6d 20 6f | 66 20 62 67 20 74 68 65 |ardNum o|f bg the|
|00004320| 42 47 20 69 6e 74 6f 20 | 74 68 65 49 44 0d 70 75 |BG into |theID.pu|
|00004330| 74 20 63 6f 6d 70 61 6e | 79 4e 61 6d 65 20 26 20 |t compan|yName & |
|00004340| 64 65 6c 69 6d 20 26 20 | 74 68 65 49 44 20 26 20 |delim & |theID & |
|00004350| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 69 6e 64 |return a|fter ind|
|00004360| 65 78 0d 65 6e 64 20 72 | 65 70 65 61 74 20 2d 2d |ex.end r|epeat --|
|00004370| 20 63 61 72 64 73 0d 65 | 6e 64 20 72 65 70 65 61 | cards.e|nd repea|
|00004380| 74 20 2d 2d 20 62 67 73 | 0d 64 65 6c 65 74 65 20 |t -- bgs|.delete |
|00004390| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 69 6e 64 |last cha|r of ind|
|000043a0| 65 78 20 2d 2d 20 74 72 | 61 69 6c 69 6e 67 20 72 |ex -- tr|ailing r|
|000043b0| 65 74 75 72 6e 0d 73 6f | 72 74 20 6c 69 6e 65 73 |eturn.so|rt lines|
|000043c0| 20 6f 66 20 69 6e 64 65 | 78 0d 72 65 74 75 72 6e | of inde|x.return|
|000043d0| 20 69 6e 64 65 78 0d 65 | 6e 64 20 63 6f 6c 6c 65 | index.e|nd colle|
|000043e0| 63 74 49 6e 64 65 78 0d | 0d 6f 6e 20 63 72 65 61 |ctIndex.|.on crea|
|000043f0| 74 65 49 6e 64 65 78 46 | 69 65 6c 64 20 69 6e 64 |teIndexF|ield ind|
|00004400| 65 78 46 69 65 6c 64 0d | 2d 2d 20 54 68 65 20 73 |exField.|-- The s|
|00004410| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 65 |hort nam|e of the|
|00004420| 20 6e 65 77 20 66 6c 64 | 20 69 73 20 70 61 73 73 | new fld| is pass|
|00004430| 65 64 20 69 6e 20 74 68 | 65 20 69 6e 64 65 78 46 |ed in th|e indexF|
|00004440| 69 65 6c 64 20 70 61 72 | 61 6d 65 74 65 72 0d 2d |ield par|ameter.-|
|00004450| 2d 20 4d 61 6b 65 73 20 | 6f 6e 65 20 6e 65 77 20 |- Makes |one new |
|00004460| 63 61 72 64 20 66 69 65 | 6c 64 20 28 69 66 20 6e |card fie|ld (if n|
|00004470| 6f 74 20 61 6c 72 65 61 | 64 79 20 70 72 65 73 65 |ot alrea|dy prese|
|00004480| 6e 74 29 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |nt).if t|here is |
|00004490| 61 20 63 64 20 66 6c 64 | 20 69 6e 64 65 78 46 69 |a cd fld| indexFi|
|000044a0| 65 6c 64 20 74 68 65 6e | 20 65 78 69 74 20 63 72 |eld then| exit cr|
|000044b0| 65 61 74 65 49 6e 64 65 | 78 46 69 65 6c 64 0d 73 |eateInde|xField.s|
|000044c0| 65 74 20 65 64 69 74 42 | 6b 67 6e 64 20 74 6f 20 |et editB|kgnd to |
|000044d0| 46 41 4c 53 45 0d 64 6f | 4d 65 6e 75 20 22 4e 65 |FALSE.do|Menu "Ne|
|000044e0| 77 20 46 69 65 6c 64 22 | 0d 73 65 74 20 6e 61 6d |w Field"|.set nam|
|000044f0| 65 20 6f 66 20 6c 61 73 | 74 20 63 64 20 66 6c 64 |e of las|t cd fld|
|00004500| 20 74 6f 20 69 6e 64 65 | 78 46 69 65 6c 64 0d 63 | to inde|xField.c|
|00004510| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|00004520| 6c 0d 65 6e 64 20 63 72 | 65 61 74 65 49 6e 64 65 |l.end cr|eateInde|
|00004530| 78 46 69 65 6c 64 0d 0d | 6f 6e 20 73 65 74 50 72 |xField..|on setPr|
|00004540| 6f 70 65 72 74 69 65 73 | 20 69 6e 64 65 78 46 69 |operties| indexFi|
|00004550| 65 6c 64 0d 2d 2d 20 74 | 68 65 73 65 20 61 72 65 |eld.-- t|hese are|
|00004560| 20 68 69 64 64 65 6e 20 | 66 69 65 6c 64 73 2c 20 | hidden |fields, |
|00004570| 73 6f 20 69 74 20 72 65 | 61 6c 6c 79 20 64 6f 65 |so it re|ally doe|
|00004580| 73 6e 74 20 6d 61 74 74 | 65 72 20 68 6f 77 20 74 |snt matt|er how t|
|00004590| 68 65 79 20 61 72 65 20 | 73 65 74 20 75 70 0d 68 |hey are |set up.h|
|000045a0| 69 64 65 20 63 64 20 66 | 6c 64 20 69 6e 64 65 78 |ide cd f|ld index|
|000045b0| 46 69 65 6c 64 0d 65 6e | 64 20 73 65 74 50 72 6f |Field.en|d setPro|
|000045c0| 70 65 72 74 69 65 73 0d | 0d 2d 2d 20 73 65 65 20 |perties.|.-- see |
|000045d0| 61 6c 73 6f 20 6f 70 65 | 6e 42 61 63 6b 67 72 6f |also ope|nBackgro|
|000045e0| 75 6e 64 2c 20 61 62 6f | 76 65 0d 0d 2d 2d 20 a5 |und, abo|ve..-- .|
|000045f0| a5 ca 45 6e 64 20 4c 69 | 6e 6b 65 64 20 4c 69 73 |..End Li|nked Lis|
|00004600| 74 20 48 61 6e 64 6c 65 | 72 73 3b 20 42 72 65 74 |t Handle|rs; Bret|
|00004610| 74 20 53 68 65 72 0d 0d | 6f 6e 20 63 6f 6c 6f 72 |t Sher..|on color|
|00004620| 4d 65 20 76 69 7a 0d 69 | 66 20 77 72 6f 6e 67 53 |Me viz.i|f wrongS|
|00004630| 74 61 63 6b 28 29 20 74 | 68 65 6e 20 65 78 69 74 |tack() t|hen exit|
|00004640| 20 63 6f 6c 6f 72 4d 65 | 0d 73 65 74 20 63 75 72 | colorMe|.set cur|
|00004650| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 69 66 20 |sor to w|atch.if |
|00004660| 76 69 7a 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |viz is e|mpty the|
|00004670| 6e 0d 70 75 74 20 22 73 | 74 61 6d 70 22 20 69 6e |n.put "s|tamp" in|
|00004680| 74 6f 20 76 69 7a 0d 70 | 75 74 20 30 20 69 6e 74 |to viz.p|ut 0 int|
|00004690| 6f 20 64 75 72 61 74 69 | 6f 6e 0d 65 6c 73 65 0d |o durati|on.else.|
|000046a0| 70 75 74 20 31 35 20 69 | 6e 74 6f 20 64 75 72 61 |put 15 i|nto dura|
|000046b0| 74 69 6f 6e 0d 65 6e 64 | 20 69 66 0d 41 64 64 43 |tion.end| if.AddC|
|000046c0| 6f 6c 6f 72 20 63 6f 6c | 6f 72 43 61 72 64 2c 76 |olor col|orCard,v|
|000046d0| 69 7a 2c 64 75 72 61 74 | 69 6f 6e 0d 65 6e 64 20 |iz,durat|ion.end |
|000046e0| 63 6f 6c 6f 72 4d 65 0d | 0d 66 75 6e 63 74 69 6f |colorMe.|.functio|
|000046f0| 6e 20 73 74 69 6c 6c 4f | 6e 46 6c 6f 70 70 79 44 |n stillO|nFloppyD|
|00004700| 69 73 6b 0d 70 75 74 20 | 74 68 65 20 69 74 65 6d |isk.put |the item|
|00004710| 44 65 6c 69 6d 69 74 65 | 72 20 69 6e 74 6f 20 73 |Delimite|r into s|
|00004720| 61 76 65 44 65 6c 69 6d | 0d 73 65 74 20 69 74 65 |aveDelim|.set ite|
|00004730| 6d 44 65 6c 69 6d 69 74 | 65 72 20 74 6f 20 63 6f |mDelimit|er to co|
|00004740| 6c 6f 6e 0d 70 75 74 20 | 69 74 65 6d 20 31 20 6f |lon.put |item 1 o|
|00004750| 66 20 28 76 61 6c 75 65 | 20 6f 66 20 77 6f 72 64 |f (value| of word|
|00004760| 20 32 20 6f 66 20 6c 6f | 6e 67 20 6e 61 6d 65 20 | 2 of lo|ng name |
|00004770| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 29 20 3d |of this |stack) =|
|00004780| c2 0d 22 48 43 20 44 69 | 72 65 63 74 6f 72 79 22 |.."HC Di|rectory"|
|00004790| 20 69 6e 74 6f 20 66 6c | 6f 70 70 79 20 2d 2d 20 | into fl|oppy -- |
|000047a0| a5 a5 20 68 61 72 64 20 | 77 69 72 65 64 20 68 65 |.. hard |wired he|
|000047b0| 72 65 0d 73 65 74 20 69 | 74 65 6d 44 65 6c 69 6d |re.set i|temDelim|
|000047c0| 69 74 65 72 20 74 6f 20 | 73 61 76 65 44 65 6c 69 |iter to |saveDeli|
|000047d0| 6d 0d 72 65 74 75 72 6e | 20 66 6c 6f 70 70 79 0d |m.return| floppy.|
|000047e0| 65 6e 64 20 73 74 69 6c | 6c 4f 6e 46 6c 6f 70 70 |end stil|lOnFlopp|
|000047f0| 79 44 69 73 6b 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |yDisk..f|unction |
|00004800| 6c 65 61 66 20 62 72 61 | 6e 63 68 0d 70 75 74 20 |leaf bra|nch.put |
|00004810| 74 68 65 20 69 74 65 6d | 44 65 6c 69 6d 69 74 65 |the item|Delimite|
|00004820| 72 20 69 6e 74 6f 20 73 | 61 76 65 44 65 6c 69 6d |r into s|aveDelim|
|00004830| 0d 73 65 74 20 69 74 65 | 6d 44 65 6c 69 6d 69 74 |.set ite|mDelimit|
|00004840| 65 72 20 74 6f 20 63 6f | 6c 6f 6e 0d 70 75 74 20 |er to co|lon.put |
|00004850| 6c 61 73 74 20 69 74 65 | 6d 20 6f 66 20 62 72 61 |last ite|m of bra|
|00004860| 6e 63 68 20 69 6e 74 6f | 20 74 77 69 67 0d 73 65 |nch into| twig.se|
|00004870| 74 20 69 74 65 6d 44 65 | 6c 69 6d 69 74 65 72 20 |t itemDe|limiter |
|00004880| 74 6f 20 73 61 76 65 44 | 65 6c 69 6d 0d 72 65 74 |to saveD|elim.ret|
|00004890| 75 72 6e 20 74 77 69 67 | 0d 65 6e 64 20 6c 65 61 |urn twig|.end lea|
|000048a0| 66 0d 0d 6f 6e 20 63 68 | 65 63 6b 20 74 68 65 52 |f..on ch|eck theR|
|000048b0| 65 73 75 6c 74 0d 69 66 | 20 74 68 65 52 65 73 75 |esult.if| theResu|
|000048c0| 6c 74 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 0d |lt is no|t empty.|
|000048d0| 74 68 65 6e 20 61 6e 73 | 77 65 72 20 74 68 65 52 |then ans|wer theR|
|000048e0| 65 73 75 6c 74 0d 65 6e | 64 20 63 68 65 63 6b 0d |esult.en|d check.|
|000048f0| 0d 66 75 6e 63 74 69 6f | 6e 20 62 74 6e 43 6c 69 |.functio|n btnCli|
|00004900| 63 6b 0d 72 65 74 75 72 | 6e 20 22 63 6c 69 63 6b |ck.retur|n "click|
|00004910| 32 32 22 0d 65 6e 64 20 | 62 74 6e 43 6c 69 63 6b |22".end |btnClick|
|00004920| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 6e 6f 53 70 61 |..functi|on noSpa|
|00004930| 63 65 73 20 73 74 72 69 | 6e 67 0d 72 65 70 65 61 |ces stri|ng.repea|
|00004940| 74 20 77 68 69 6c 65 20 | 73 70 61 63 65 20 69 73 |t while |space is|
|00004950| 20 69 6e 20 73 74 72 69 | 6e 67 0d 70 75 74 20 65 | in stri|ng.put e|
|00004960| 6d 70 74 79 20 69 6e 74 | 6f 20 63 68 61 72 20 6f |mpty int|o char o|
|00004970| 66 66 73 65 74 28 73 70 | 61 63 65 2c 73 74 72 69 |ffset(sp|ace,stri|
|00004980| 6e 67 29 20 6f 66 20 73 | 74 72 69 6e 67 0d 65 6e |ng) of s|tring.en|
|00004990| 64 20 72 65 70 65 61 74 | 0d 72 65 74 75 72 6e 20 |d repeat|.return |
|000049a0| 73 74 72 69 6e 67 0d 65 | 6e 64 20 6e 6f 53 70 61 |string.e|nd noSpa|
|000049b0| 63 65 73 0d 0d 6f 6e 20 | 68 61 6e 64 6c 65 50 69 |ces..on |handlePi|
|000049c0| 63 74 75 72 65 45 72 72 | 6f 72 20 74 68 65 52 65 |ctureErr|or theRe|
|000049d0| 73 75 6c 74 0d 69 66 20 | 74 68 65 52 65 73 75 6c |sult.if |theResul|
|000049e0| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |t is not| empty t|
|000049f0| 68 65 6e 0d 62 65 65 70 | 0d 69 66 20 22 6d 65 6d |hen.beep|.if "mem|
|00004a00| 6f 72 79 22 20 69 73 20 | 69 6e 20 74 68 65 52 65 |ory" is |in theRe|
|00004a10| 73 75 6c 74 20 74 68 65 | 6e 0d 70 75 74 20 22 51 |sult the|n.put "Q|
|00004a20| 75 69 74 20 61 6e 64 20 | 69 6e 63 72 65 61 73 65 |uit and |increase|
|00004a30| 20 48 79 70 65 72 43 61 | 72 64 d5 73 20 61 70 70 | HyperCa|rd.s app|
|00004a40| 6c 69 63 61 74 69 6f 6e | 20 6d 65 6d 6f 72 79 2e |lication| memory.|
|00004a50| 22 20 69 6e 74 6f 20 74 | 72 61 69 6c 65 72 0d 65 |" into t|railer.e|
|00004a60| 6c 73 65 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |lse.put |empty in|
|00004a70| 74 6f 20 74 72 61 69 6c | 65 72 0d 65 6e 64 20 69 |to trail|er.end i|
|00004a80| 66 0d 70 75 74 20 22 48 | 61 64 20 74 72 6f 75 62 |f.put "H|ad troub|
|00004a90| 6c 65 20 6c 6f 61 64 69 | 6e 67 20 79 6f 75 72 20 |le loadi|ng your |
|00004aa0| 50 49 43 54 3b 20 67 6f | 74 3a 22 20 26 72 65 74 |PICT; go|t:" &ret|
|00004ab0| 75 72 6e 26 c2 0d 74 68 | 65 52 65 73 75 6c 74 20 |urn&..th|eResult |
|00004ac0| 26 72 65 74 75 72 6e 20 | 69 6e 74 6f 20 73 74 61 |&return |into sta|
|00004ad0| 74 65 6d 65 6e 74 0d 69 | 66 20 74 72 61 69 6c 65 |tement.i|f traile|
|00004ae0| 72 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |r is not| empty t|
|00004af0| 68 65 6e 20 70 75 74 20 | 72 65 74 75 72 6e 26 20 |hen put |return& |
|00004b00| 74 72 61 69 6c 65 72 20 | 61 66 74 65 72 20 73 74 |trailer |after st|
|00004b10| 61 74 65 6d 65 6e 74 0d | 61 6e 73 77 65 72 20 73 |atement.|answer s|
|00004b20| 74 61 74 65 6d 65 6e 74 | 0d 70 75 74 20 65 6d 70 |tatement|.put emp|
|00004b30| 74 79 20 69 6e 74 6f 20 | 74 68 65 20 74 61 72 67 |ty into |the targ|
|00004b40| 65 74 0d 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |et.exit |to Hyper|
|00004b50| 43 61 72 64 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |Card.end| if.end |
|00004b60| 68 61 6e 64 6c 65 50 69 | 63 74 75 72 65 45 72 72 |handlePi|ctureErr|
|00004b70| 6f 72 0d 0d 6f 6e 20 6c | 6f 63 6b 66 6c 64 73 0d |or..on l|ockflds.|
|00004b80| 2d 2d 20 61 6c 6c 20 66 | 69 65 6c 64 73 20 61 72 |-- all f|ields ar|
|00004b90| 65 20 6c 6f 63 6b 65 64 | 20 69 6e 20 74 68 65 20 |e locked| in the |
|00004ba0| 63 61 74 61 6c 6f 67 0d | 70 75 73 68 20 63 61 72 |catalog.|push car|
|00004bb0| 64 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 6c 6f |d.lock s|creen.lo|
|00004bc0| 63 6b 20 6d 65 73 73 61 | 67 65 73 0d 72 65 70 65 |ck messa|ges.repe|
|00004bd0| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|00004be0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 62 | the num|ber of b|
|00004bf0| 67 73 0d 67 6f 20 62 67 | 20 69 0d 72 65 70 65 61 |gs.go bg| i.repea|
|00004c00| 74 20 77 69 74 68 20 6b | 20 3d 20 31 20 74 6f 20 |t with k| = 1 to |
|00004c10| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 66 6c |the numb|er of fl|
|00004c20| 64 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ds.set c|ursor to|
|00004c30| 20 62 75 73 79 0d 69 66 | 20 74 68 65 20 73 68 61 | busy.if| the sha|
|00004c40| 72 65 64 54 65 78 74 20 | 6f 66 20 66 6c 64 20 6b |redText |of fld k|
|00004c50| 20 74 68 65 6e 20 6e 65 | 78 74 20 72 65 70 65 61 | then ne|xt repea|
|00004c60| 74 0d 73 65 74 20 74 68 | 65 20 6c 6f 63 6b 54 65 |t.set th|e lockTe|
|00004c70| 78 74 20 6f 66 20 66 6c | 64 20 6b 20 74 6f 20 74 |xt of fl|d k to t|
|00004c80| 72 75 65 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 69 |rue.end |repeat.i|
|00004c90| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 66 6c 64 |f there |is a fld|
|00004ca0| 20 22 64 65 6d 6f 20 73 | 74 61 63 6b 22 20 74 68 | "demo s|tack" th|
|00004cb0| 65 6e 20 68 69 64 65 20 | 66 6c 64 20 22 64 65 6d |en hide |fld "dem|
|00004cc0| 6f 20 73 74 61 63 6b 22 | 0d 69 66 20 74 68 65 72 |o stack"|.if ther|
|00004cd0| 65 20 69 73 20 61 20 66 | 6c 64 20 22 50 68 6f 6e |e is a f|ld "Phon|
|00004ce0| 65 20 44 61 74 61 22 20 | 74 68 65 6e 20 20 68 69 |e Data" |then hi|
|00004cf0| 64 65 20 66 6c 64 20 22 | 50 68 6f 6e 65 20 44 61 |de fld "|Phone Da|
|00004d00| 74 61 22 0d 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |ta"..end| repeat.|
|00004d10| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00004d20| 33 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |3 to the| number |
|00004d30| 6f 66 20 63 64 73 0d 73 | 65 74 20 63 75 72 73 6f |of cds.s|et curso|
|00004d40| 72 20 74 6f 20 62 75 73 | 79 0d 69 66 20 74 68 65 |r to bus|y.if the|
|00004d50| 72 65 20 69 73 20 61 20 | 63 64 20 66 6c 64 20 31 |re is a |cd fld 1|
|00004d60| 20 6f 66 20 63 64 20 69 | 0d 74 68 65 6e 20 73 65 | of cd i|.then se|
|00004d70| 74 20 6c 6f 63 6b 54 65 | 78 74 20 6f 66 20 63 64 |t lockTe|xt of cd|
|00004d80| 20 66 6c 64 20 31 20 6f | 66 20 63 64 20 69 20 74 | fld 1 o|f cd i t|
|00004d90| 6f 20 66 61 6c 73 65 0d | 65 6e 64 20 72 65 70 65 |o false.|end repe|
|00004da0| 61 74 0d 70 6f 70 20 63 | 61 72 64 0d 65 6e 64 20 |at.pop c|ard.end |
|00004db0| 6c 6f 63 6b 46 6c 64 73 | 0d 0d 6f 6e 20 6f 70 65 |lockFlds|..on ope|
|00004dc0| 6e 50 69 63 74 75 72 65 | 20 77 69 6e 64 6f 77 4e |nPicture| windowN|
|00004dd0| 61 6d 65 2c 20 77 69 6e | 64 6f 77 49 64 0d 67 6c |ame, win|dowId.gl|
|00004de0| 6f 62 61 6c 20 67 43 61 | 74 61 6c 6f 67 50 49 43 |obal gCa|talogPIC|
|00004df0| 54 0d 69 66 20 77 69 6e | 64 6f 77 4e 61 6d 65 20 |T.if win|dowName |
|00004e00| 69 73 20 22 4a 6f 69 6e | 74 20 53 6f 6c 75 74 69 |is "Join|t Soluti|
|00004e10| 6f 6e 73 20 4c 6f 67 6f | 20 42 6c 75 65 22 20 74 |ons Logo| Blue" t|
|00004e20| 68 65 6e 20 65 78 69 74 | 20 6f 70 65 6e 50 69 63 |hen exit| openPic|
|00004e30| 74 75 72 65 0d 70 75 74 | 20 77 69 6e 64 6f 77 4e |ture.put| windowN|
|00004e40| 61 6d 65 20 69 6e 74 6f | 20 67 43 61 74 61 6c 6f |ame into| gCatalo|
|00004e50| 67 50 49 43 54 0d 65 6e | 64 20 6f 70 65 6e 50 69 |gPICT.en|d openPi|
|00004e60| 63 74 75 72 65 0d 0d 6f | 6e 20 63 6c 6f 73 65 50 |cture..o|n closeP|
|00004e70| 69 63 74 75 72 65 20 77 | 69 6e 64 6f 77 4e 61 6d |icture w|indowNam|
|00004e80| 65 2c 20 77 69 6e 64 6f | 77 49 64 0d 67 6c 6f 62 |e, windo|wId.glob|
|00004e90| 61 6c 20 67 43 61 74 61 | 6c 6f 67 50 49 43 54 0d |al gCata|logPICT.|
|00004ea0| 69 66 20 77 69 6e 64 6f | 77 4e 61 6d 65 20 69 73 |if windo|wName is|
|00004eb0| 20 67 43 61 74 61 6c 6f | 67 50 49 43 54 20 61 6e | gCatalo|gPICT an|
|00004ec0| 64 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 77 69 |d there |is no wi|
|00004ed0| 6e 64 6f 77 20 67 43 61 | 74 61 6c 6f 67 50 49 43 |ndow gCa|talogPIC|
|00004ee0| 54 0d 74 68 65 6e 20 70 | 75 74 20 65 6d 70 74 79 |T.then p|ut empty|
|00004ef0| 20 69 6e 74 6f 20 67 43 | 61 74 61 6c 6f 67 50 49 | into gC|atalogPI|
|00004f00| 43 54 0d 65 6e 64 20 63 | 6c 6f 73 65 50 69 63 74 |CT.end c|losePict|
|00004f10| 75 72 65 0d 0d 6f 6e 20 | 63 6c 6f 73 65 50 61 6c |ure..on |closePal|
|00004f20| 65 74 74 65 20 77 4e 61 | 6d 65 20 2d 2d 20 66 6f |ette wNa|me -- fo|
|00004f30| 72 20 74 68 65 20 70 61 | 6c 65 74 74 65 0d 69 66 |r the pa|lette.if|
|00004f40| 20 77 4e 61 6d 65 20 69 | 73 20 22 48 43 20 44 69 | wName i|s "HC Di|
|00004f50| 72 22 20 61 6e 64 20 74 | 68 65 20 73 68 6f 72 74 |r" and t|he short|
|00004f60| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00004f70| 61 63 6b 20 ad 20 63 61 | 74 61 6c 6f 67 53 74 61 |ack . ca|talogSta|
|00004f80| 63 6b 4e 61 6d 65 28 29 | 0d 74 68 65 6e 20 70 61 |ckName()|.then pa|
|00004f90| 6c 65 74 74 65 20 22 48 | 43 20 44 69 72 22 2c 70 |lette "H|C Dir",p|
|00004fa0| 61 6c 65 74 74 65 4c 6f | 63 28 29 0d 65 6c 73 65 |aletteLo|c().else|
|00004fb0| 20 70 61 73 73 20 63 6c | 6f 73 65 50 61 6c 65 74 | pass cl|osePalet|
|00004fc0| 74 65 0d 65 6e 64 20 63 | 6c 6f 73 65 50 61 6c 65 |te.end c|losePale|
|00004fd0| 74 74 65 0d 0d 66 75 6e | 63 74 69 6f 6e 20 70 61 |tte..fun|ction pa|
|00004fe0| 6c 65 74 74 65 4c 6f 63 | 0d 72 65 74 75 72 6e 20 |letteLoc|.return |
|00004ff0| 22 33 34 2c 31 30 34 22 | 0d 65 6e 64 20 70 61 6c |"34,104"|.end pal|
|00005000| 65 74 74 65 4c 6f 63 0d | 0d 6f 6e 20 73 68 6f 77 |etteLoc.|.on show|
|00005010| 50 68 6f 74 6f 20 70 68 | 6f 74 6f 0d 2d 2d 20 70 |Photo ph|oto.-- p|
|00005020| 69 63 74 75 72 65 20 73 | 6f 75 72 63 65 4e 61 6d |icture s|ourceNam|
|00005030| 65 20 5b 2c 20 73 6f 75 | 72 63 65 54 79 70 65 20 |e [, sou|rceType |
|00005040| 5b 2c 20 77 69 6e 64 6f | 77 53 74 79 6c 65 20 5b |[, windo|wStyle [|
|00005050| 2c 20 76 69 73 69 62 6c | 65 20 5b 2c 20 64 65 70 |, visibl|e [, dep|
|00005060| 74 68 20 20 c2 0d 2d 2d | 20 5b 2c 20 66 6c 6f 61 |th ..--| [, floa|
|00005070| 74 69 6e 67 4c 61 79 65 | 72 20 5d 5d 5d 5d 5d 0d |tingLaye|r ]]]]].|
|00005080| 69 66 20 70 68 6f 74 6f | 20 69 73 20 65 6d 70 74 |if photo| is empt|
|00005090| 79 20 74 68 65 6e 20 65 | 78 69 74 20 73 68 6f 77 |y then e|xit show|
|000050a0| 50 68 6f 74 6f 0d 70 75 | 74 20 6c 69 6e 65 20 31 |Photo.pu|t line 1|
|000050b0| 20 6f 66 20 70 68 6f 74 | 6f 20 69 6e 74 6f 20 72 | of phot|o into r|
|000050c0| 65 73 49 44 0d 70 75 74 | 20 6c 69 6e 65 20 32 20 |esID.put| line 2 |
|000050d0| 6f 66 20 70 68 6f 74 6f | 20 69 6e 74 6f 20 77 4e |of photo| into wN|
|000050e0| 61 6d 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ame.if t|here is |
|000050f0| 61 20 77 69 6e 64 6f 77 | 20 77 4e 61 6d 65 20 74 |a window| wName t|
|00005100| 68 65 6e 0d 73 68 6f 77 | 20 77 69 6e 64 6f 77 20 |hen.show| window |
|00005110| 77 4e 61 6d 65 0d 65 6c | 73 65 0d 70 69 63 74 75 |wName.el|se.pictu|
|00005120| 72 65 20 77 4e 61 6d 65 | 2c 22 72 65 73 6f 75 72 |re wName|,"resour|
|00005130| 63 65 22 2c 22 7a 6f 6f | 6d 22 2c 74 72 75 65 2c |ce","zoo|m",true,|
|00005140| 74 72 75 65 0d 65 6e 64 | 20 69 66 0d 69 66 20 74 |true.end| if.if t|
|00005150| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 6e 6f 74 |he resul|t is not|
|00005160| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 61 6e 73 77 | empty t|hen answ|
|00005170| 65 72 20 74 68 65 20 72 | 65 73 75 6c 74 0d 65 6e |er the r|esult.en|
|00005180| 64 20 73 68 6f 77 50 68 | 6f 74 6f 0d 0d 6f 6e 20 |d showPh|oto..on |
|00005190| 67 65 74 44 65 6d 6f 20 | 64 65 6d 6f 53 74 61 63 |getDemo |demoStac|
|000051a0| 6b 0d 67 6c 6f 62 61 6c | 20 67 43 64 54 68 61 74 |k.global| gCdThat|
|000051b0| 4c 61 75 6e 63 68 65 64 | 44 65 6d 6f 0d 69 66 20 |Launched|Demo.if |
|000051c0| 74 68 65 20 6f 70 74 69 | 6f 6e 4b 65 79 20 69 73 |the opti|onKey is|
|000051d0| 20 64 6f 77 6e 20 74 68 | 65 6e 0d 73 65 74 20 74 | down th|en.set t|
|000051e0| 68 65 20 76 69 73 69 62 | 6c 65 20 6f 66 20 66 6c |he visib|le of fl|
|000051f0| 64 20 22 44 65 6d 6f 20 | 53 74 61 63 6b 22 20 74 |d "Demo |Stack" t|
|00005200| 6f c2 0d 6e 6f 74 20 74 | 68 65 20 76 69 73 69 62 |o..not t|he visib|
|00005210| 6c 65 20 6f 66 20 66 6c | 64 20 22 44 65 6d 6f 20 |le of fl|d "Demo |
|00005220| 53 74 61 63 6b 22 0d 65 | 78 69 74 20 67 65 74 44 |Stack".e|xit getD|
|00005230| 65 6d 6f 0d 65 6e 64 20 | 69 66 0d 73 65 74 20 63 |emo.end |if.set c|
|00005240| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 69 |ursor to| watch.i|
|00005250| 66 20 64 65 6d 6f 53 74 | 61 63 6b 20 69 73 20 65 |f demoSt|ack is e|
|00005260| 6d 70 74 79 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |mpty the|n.answer|
|00005270| 20 66 69 6c 65 20 22 57 | 68 65 72 65 20 69 73 20 | file "W|here is |
|00005280| 74 68 65 20 64 65 6d 6f | 20 73 74 61 63 6b 20 66 |the demo| stack f|
|00005290| 6f 72 22 20 26 26 20 66 | 6c 64 20 22 43 6f 6d 70 |or" && f|ld "Comp|
|000052a0| 61 6e 79 20 4e 61 6d 65 | 22 20 26 22 3f 22 c2 0d |any Name|" &"?"..|
|000052b0| 6f 66 20 74 79 70 65 20 | 53 54 41 4b 0d 69 66 20 |of type |STAK.if |
|000052c0| 69 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |it is em|pty then|
|000052d0| 20 65 78 69 74 20 74 6f | 20 48 79 70 65 72 43 61 | exit to| HyperCa|
|000052e0| 72 64 0d 70 75 74 20 64 | 65 6d 6f 50 61 74 68 28 |rd.put d|emoPath(|
|000052f0| 69 74 29 20 69 6e 74 6f | 20 64 65 6d 6f 53 74 61 |it) into| demoSta|
|00005300| 63 6b 0d 70 75 74 20 64 | 65 6d 6f 53 74 61 63 6b |ck.put d|emoStack|
|00005310| 20 69 6e 74 6f 20 66 6c | 64 20 22 44 65 6d 6f 20 | into fl|d "Demo |
|00005320| 53 74 61 63 6b 22 0d 65 | 6e 64 20 69 66 0d 70 75 |Stack".e|nd if.pu|
|00005330| 74 20 74 68 65 20 6c 6f | 6e 67 20 69 64 20 6f 66 |t the lo|ng id of|
|00005340| 20 74 68 69 73 20 63 64 | 20 69 6e 74 6f 20 67 43 | this cd| into gC|
|00005350| 64 54 68 61 74 4c 61 75 | 6e 63 68 65 64 44 65 6d |dThatLau|nchedDem|
|00005360| 6f 0d 73 74 61 72 74 20 | 75 73 69 6e 67 20 74 68 |o.start |using th|
|00005370| 69 73 20 73 74 61 63 6b | 0d 70 61 6c 65 74 74 65 |is stack|.palette|
|00005380| 20 22 48 43 20 44 69 72 | 22 2c 70 61 6c 65 74 74 | "HC Dir|",palett|
|00005390| 65 4c 6f 63 28 29 0d 2d | 2d 69 66 20 63 68 61 72 |eLoc().-|-if char|
|000053a0| 20 31 20 6f 66 20 64 65 | 6d 6f 53 74 61 63 6b 20 | 1 of de|moStack |
|000053b0| ad 20 22 3a 22 20 74 68 | 65 6e 20 70 75 74 20 22 |. ":" th|en put "|
|000053c0| 3a 22 20 62 65 66 6f 72 | 65 20 64 65 6d 6f 53 74 |:" befor|e demoSt|
|000053d0| 61 63 6b 0d 67 65 74 20 | 70 61 74 68 54 6f 48 65 |ack.get |pathToHe|
|000053e0| 72 65 28 29 20 26 20 64 | 65 6d 6f 53 74 61 63 6b |re() & d|emoStack|
|000053f0| 0d 67 6f 20 69 74 0d 65 | 6e 64 20 67 65 74 44 65 |.go it.e|nd getDe|
|00005400| 6d 6f 0d 0d 6f 6e 20 72 | 65 74 75 72 6e 54 6f 4a |mo..on r|eturnToJ|
|00005410| 53 4d 43 61 74 61 6c 6f | 67 20 6f 70 74 4b 65 79 |SMCatalo|g optKey|
|00005420| 2c 73 68 66 74 4b 65 79 | 2c 63 6d 64 4b 65 79 20 |,shftKey|,cmdKey |
|00005430| 2d 2d 20 74 68 65 20 70 | 61 6c 65 74 74 65 0d 67 |-- the p|alette.g|
|00005440| 6c 6f 62 61 6c 20 67 43 | 64 54 68 61 74 4c 61 75 |lobal gC|dThatLau|
|00005450| 6e 63 68 65 64 44 65 6d | 6f 0d 6c 6f 63 6b 20 73 |nchedDem|o.lock s|
|00005460| 63 72 65 65 6e 0d 69 66 | 20 74 68 65 20 65 6e 76 |creen.if| the env|
|00005470| 69 72 6f 6e 6d 65 6e 74 | 20 69 73 20 22 44 65 76 |ironment| is "Dev|
|00005480| 65 6c 6f 70 6d 65 6e 74 | 22 20 74 68 65 6e 20 67 |elopment|" then g|
|00005490| 6f 20 67 43 64 54 68 61 | 74 4c 61 75 6e 63 68 65 |o gCdTha|tLaunche|
|000054a0| 64 44 65 6d 6f 0d 65 6c | 73 65 0d 2d 2d 20 67 6f |dDemo.el|se.-- go|
|000054b0| 20 48 6f 6d 65 0d 67 6f | 20 63 64 20 69 64 20 28 | Home.go| cd id (|
|000054c0| 77 6f 72 64 20 33 20 6f | 66 20 67 43 64 54 68 61 |word 3 o|f gCdTha|
|000054d0| 74 4c 61 75 6e 63 68 65 | 64 44 65 6d 6f 29 20 6f |tLaunche|dDemo) o|
|000054e0| 66 20 48 6f 6d 65 0d 65 | 6e 64 20 69 66 0d 69 66 |f Home.e|nd if.if|
|000054f0| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00005500| 6f 77 20 22 48 43 20 44 | 69 72 22 20 74 68 65 6e |ow "HC D|ir" then|
|00005510| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 22 48 | close w|indow "H|
|00005520| 43 20 44 69 72 22 0d 73 | 65 6e 64 20 22 63 6f 6c |C Dir".s|end "col|
|00005530| 6f 72 4d 65 20 62 61 72 | 6e 44 6f 6f 72 4f 70 65 |orMe bar|nDoorOpe|
|00005540| 6e 22 20 74 6f 20 74 68 | 69 73 20 63 61 72 64 0d |n" to th|is card.|
|00005550| 65 6e 64 20 72 65 74 75 | 72 6e 54 6f 4a 53 4d 63 |end retu|rnToJSMc|
|00005560| 61 74 61 6c 6f 67 0d 0d | 66 75 6e 63 74 69 6f 6e |atalog..|function|
|00005570| 20 63 61 74 61 6c 6f 67 | 53 74 61 63 6b 4e 61 6d | catalog|StackNam|
|00005580| 65 0d 72 65 74 75 72 6e | 20 22 48 79 70 65 72 43 |e.return| "HyperC|
|00005590| 61 72 64 20 50 72 6f 64 | 75 63 74 73 20 26 20 53 |ard Prod|ucts & S|
|000055a0| 65 72 76 69 63 65 73 22 | 0d 65 6e 64 20 63 61 74 |ervices"|.end cat|
|000055b0| 61 6c 6f 67 53 74 61 63 | 6b 4e 61 6d 65 0d 0d 66 |alogStac|kName..f|
|000055c0| 75 6e 63 74 69 6f 6e 20 | 77 72 6f 6e 67 53 74 61 |unction |wrongSta|
|000055d0| 63 6b 0d 72 65 74 75 72 | 6e 20 28 74 68 65 20 73 |ck.retur|n (the s|
|000055e0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000055f0| 73 20 73 74 61 63 6b 20 | ad 20 63 61 74 61 6c 6f |s stack |. catalo|
|00005600| 67 53 74 61 63 6b 4e 61 | 6d 65 28 29 29 0d 65 6e |gStackNa|me()).en|
|00005610| 64 20 77 72 6f 6e 67 53 | 74 61 63 6b 0d 0d 6f 6e |d wrongS|tack..on|
|00005620| 20 64 69 61 6c 54 68 65 | 50 68 6f 6e 65 0d 69 66 | dialThe|Phone.if|
|00005630| 20 74 68 65 20 6f 70 74 | 69 6f 6e 4b 65 79 20 69 | the opt|ionKey i|
|00005640| 73 20 64 6f 77 6e 20 74 | 68 65 6e 0d 73 65 74 20 |s down t|hen.set |
|00005650| 74 68 65 20 76 69 73 69 | 62 6c 65 20 6f 66 20 66 |the visi|ble of f|
|00005660| 6c 64 20 22 50 68 6f 6e | 65 73 22 20 74 6f c2 0d |ld "Phon|es" to..|
|00005670| 6e 6f 74 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |not the |visible |
|00005680| 6f 66 20 66 6c 64 20 22 | 50 68 6f 6e 65 73 22 0d |of fld "|Phones".|
|00005690| 70 75 74 20 65 6d 70 74 | 79 0d 65 78 69 74 20 74 |put empt|y.exit t|
|000056a0| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 65 6e 64 20 |o HyperC|ard.end |
|000056b0| 69 66 0d 70 75 74 20 66 | 6c 64 20 22 50 68 6f 6e |if.put f|ld "Phon|
|000056c0| 65 73 22 20 69 6e 74 6f | 20 74 68 65 4e 75 6d 73 |es" into| theNums|
|000056d0| 0d 70 75 74 20 74 68 65 | 4e 75 6d 73 20 69 6e 74 |.put the|Nums int|
|000056e0| 6f 20 63 6f 6e 74 61 63 | 74 73 0d 64 65 6c 65 74 |o contac|ts.delet|
|000056f0| 65 20 6c 69 6e 65 20 31 | 20 6f 66 20 63 6f 6e 74 |e line 1| of cont|
|00005700| 61 63 74 73 0d 61 6e 73 | 77 65 72 20 63 6f 6e 74 |acts.ans|wer cont|
|00005710| 61 63 74 73 20 77 69 74 | 68 20 22 44 69 61 6c c9 |acts wit|h "Dial.|
|00005720| 22 20 6f 72 20 22 43 6c | 6f 73 65 22 0d 69 66 20 |" or "Cl|ose".if |
|00005730| 69 74 20 69 73 20 22 44 | 69 61 6c c9 22 20 74 68 |it is "D|ial." th|
|00005740| 65 6e 0d 61 73 6b 20 22 | 44 69 61 6c 22 20 26 26 |en.ask "|Dial" &&|
|00005750| 20 66 6c 64 20 22 43 6f | 6d 70 61 6e 79 20 4e 61 | fld "Co|mpany Na|
|00005760| 6d 65 22 20 26 26 20 22 | 61 74 20 74 68 69 73 20 |me" && "|at this |
|00005770| 6e 75 6d 62 65 72 3f 22 | c2 0d 77 69 74 68 20 6c |number?"|..with l|
|00005780| 69 6e 65 20 31 20 6f 66 | 20 74 68 65 4e 75 6d 73 |ine 1 of| theNums|
|00005790| 0d 69 66 20 69 74 20 69 | 73 20 6e 6f 74 20 65 6d |.if it i|s not em|
|000057a0| 70 74 79 20 74 68 65 6e | 0d 70 75 74 20 69 74 20 |pty then|.put it |
|000057b0| 69 6e 74 6f 20 6c 69 6e | 65 20 31 20 6f 66 20 66 |into lin|e 1 of f|
|000057c0| 6c 64 20 22 50 68 6f 6e | 65 73 22 0d 64 69 61 6c |ld "Phon|es".dial|
|000057d0| 20 69 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 | it.end |if.end i|
|000057e0| 66 0d 65 6e 64 20 64 69 | 61 6c 54 68 65 50 68 6f |f.end di|alThePho|
|000057f0| 6e 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 70 61 74 |ne..func|tion pat|
|00005800| 68 54 6f 48 65 72 65 0d | 70 75 74 20 74 68 65 20 |hToHere.|put the |
|00005810| 6c 6f 6e 67 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |long nam|e of thi|
|00005820| 73 20 73 74 61 63 6b 20 | 69 6e 74 6f 20 74 68 65 |s stack |into the|
|00005830| 50 61 74 68 0d 70 75 74 | 20 63 68 61 72 20 38 20 |Path.put| char 8 |
|00005840| 74 6f 20 28 6c 65 6e 67 | 74 68 28 74 68 65 50 61 |to (leng|th(thePa|
|00005850| 74 68 29 2d 31 29 20 6f | 66 20 74 68 65 50 61 74 |th)-1) o|f thePat|
|00005860| 68 20 69 6e 74 6f 20 74 | 68 65 50 61 74 68 0d 70 |h into t|hePath.p|
|00005870| 75 74 20 74 68 65 20 69 | 74 65 6d 44 65 6c 69 6d |ut the i|temDelim|
|00005880| 69 74 65 72 20 69 6e 74 | 6f 20 73 61 76 65 44 65 |iter int|o saveDe|
|00005890| 6c 69 6d 0d 73 65 74 20 | 69 74 65 6d 44 65 6c 69 |lim.set |itemDeli|
|000058a0| 6d 69 74 65 72 20 74 6f | 20 63 6f 6c 6f 6e 0d 64 |miter to| colon.d|
|000058b0| 65 6c 65 74 65 20 6c 61 | 73 74 20 69 74 65 6d 20 |elete la|st item |
|000058c0| 6f 66 20 74 68 65 50 61 | 74 68 0d 73 65 74 20 69 |of thePa|th.set i|
|000058d0| 74 65 6d 44 65 6c 69 6d | 69 74 65 72 20 74 6f 20 |temDelim|iter to |
|000058e0| 73 61 76 65 44 65 6c 69 | 6d 0d 72 65 74 75 72 6e |saveDeli|m.return|
|000058f0| 20 74 68 65 50 61 74 68 | 20 26 63 6f 6c 6f 6e 0d | thePath| &colon.|
|00005900| 65 6e 64 20 70 61 74 68 | 54 6f 48 65 72 65 0d 0d |end path|ToHere..|
|00005910| 66 75 6e 63 74 69 6f 6e | 20 64 65 6d 6f 50 61 74 |function| demoPat|
|00005920| 68 20 74 68 65 50 61 74 | 68 0d 67 65 74 20 6f 66 |h thePat|h.get of|
|00005930| 66 73 65 74 28 22 44 65 | 6d 6f 73 3a 22 2c 74 68 |fset("De|mos:",th|
|00005940| 65 50 61 74 68 29 2d 31 | 0d 64 65 6c 65 74 65 20 |ePath)-1|.delete |
|00005950| 63 68 61 72 20 31 20 74 | 6f 20 69 74 20 6f 66 20 |char 1 t|o it of |
|00005960| 74 68 65 50 61 74 68 0d | 72 65 74 75 72 6e 20 74 |thePath.|return t|
|00005970| 68 65 50 61 74 68 0d 65 | 6e 64 20 64 65 6d 6f 50 |hePath.e|nd demoP|
|00005980| 61 74 68 0d 0d 66 75 6e | 63 74 69 6f 6e 20 6c 69 |ath..fun|ction li|
|00005990| 6e 65 54 6f 4c 69 6e 65 | 4e 75 6d 20 74 68 65 54 |neToLine|Num theT|
|000059a0| 65 78 74 2c 20 73 6f 75 | 72 63 65 0d 72 65 74 75 |ext, sou|rce.retu|
|000059b0| 72 6e 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |rn numbe|r of lin|
|000059c0| 65 73 20 6f 66 20 63 68 | 61 72 20 31 20 74 6f 20 |es of ch|ar 1 to |
|000059d0| 6f 66 66 73 65 74 28 74 | 68 65 54 65 78 74 2c 73 |offset(t|heText,s|
|000059e0| 6f 75 72 63 65 29 20 6f | 66 20 73 6f 75 72 63 65 |ource) o|f source|
|000059f0| 0d 65 6e 64 20 6c 69 6e | 65 54 6f 4c 69 6e 65 4e |.end lin|eToLineN|
|00005a00| 75 6d 0d 0d 6f 6e 20 6d | 61 6b 65 50 68 6f 74 6f |um..on m|akePhoto|
|00005a10| 42 74 6e 20 70 68 6f 74 | 6f 49 44 2c 70 68 6f 74 |Btn phot|oID,phot|
|00005a20| 6f 4e 61 6d 65 0d 69 66 | 20 74 68 65 72 65 20 69 |oName.if| there i|
|00005a30| 73 20 61 20 62 74 6e 20 | 22 50 68 6f 74 6f 22 20 |s a btn |"Photo" |
|00005a40| 74 68 65 6e 0d 69 66 20 | 70 68 6f 74 6f 49 44 20 |then.if |photoID |
|00005a50| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 61 6e 64 |is not e|mpty and|
|00005a60| 20 70 68 6f 74 6f 4e 61 | 6d 65 20 69 73 20 6e 6f | photoNa|me is no|
|00005a70| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 70 75 74 |t empty |then.put|
|00005a80| 20 70 68 6f 74 6f 49 44 | 20 26 72 65 74 75 72 6e | photoID| &return|
|00005a90| 26 20 70 68 6f 74 6f 4e | 61 6d 65 20 69 6e 74 6f |& photoN|ame into|
|00005aa0| 20 62 74 6e 20 22 50 68 | 6f 74 6f 22 0d 65 6e 64 | btn "Ph|oto".end|
|00005ab0| 20 69 66 0d 65 78 69 74 | 20 6d 61 6b 65 50 68 6f | if.exit| makePho|
|00005ac0| 74 6f 42 74 6e 0d 65 6e | 64 20 69 66 0d 73 65 74 |toBtn.en|d if.set|
|00005ad0| 20 65 64 69 74 42 6b 67 | 6e 64 20 74 6f 20 66 61 | editBkg|nd to fa|
|00005ae0| 6c 73 65 0d 73 68 6f 77 | 20 62 67 20 62 74 6e 20 |lse.show| bg btn |
|00005af0| 22 50 68 6f 74 6f 22 0d | 73 65 6c 65 63 74 20 62 |"Photo".|select b|
|00005b00| 67 20 62 74 6e 20 22 50 | 68 6f 74 6f 22 0d 64 6f |g btn "P|hoto".do|
|00005b10| 4d 65 6e 75 20 22 43 6f | 70 79 20 42 75 74 74 6f |Menu "Co|py Butto|
|00005b20| 6e 22 0d 64 6f 4d 65 6e | 75 20 22 50 61 73 74 65 |n".doMen|u "Paste|
|00005b30| 20 42 75 74 74 6f 6e 22 | 0d 73 65 74 20 73 74 79 | Button"|.set sty|
|00005b40| 6c 65 20 6f 66 20 62 74 | 6e 20 22 50 68 6f 74 6f |le of bt|n "Photo|
|00005b50| 22 20 74 6f 20 74 72 61 | 6e 73 70 61 72 65 6e 74 |" to tra|nsparent|
|00005b60| 0d 73 65 74 20 73 68 6f | 77 4e 61 6d 65 20 6f 66 |.set sho|wName of|
|00005b70| 20 62 74 6e 20 22 50 68 | 6f 74 6f 22 20 74 6f 20 | btn "Ph|oto" to |
|00005b80| 66 61 6c 73 65 0d 73 65 | 74 20 61 75 74 6f 48 69 |false.se|t autoHi|
|00005b90| 6c 69 74 65 20 6f 66 20 | 62 74 6e 20 22 50 68 6f |lite of |btn "Pho|
|00005ba0| 74 6f 22 20 74 6f 20 74 | 72 75 65 0d 70 75 74 20 |to" to t|rue.put |
|00005bb0| 70 68 6f 74 6f 49 44 20 | 26 72 65 74 75 72 6e 26 |photoID |&return&|
|00005bc0| 20 70 68 6f 74 6f 4e 61 | 6d 65 20 69 6e 74 6f 20 | photoNa|me into |
|00005bd0| 62 74 6e 20 22 50 68 6f | 74 6f 22 0d 73 65 74 20 |btn "Pho|to".set |
|00005be0| 72 65 63 74 20 6f 66 20 | 62 74 6e 20 22 50 68 6f |rect of |btn "Pho|
|00005bf0| 74 6f 22 20 74 6f 20 72 | 65 63 74 20 6f 66 20 62 |to" to r|ect of b|
|00005c00| 67 20 62 74 6e 20 22 50 | 68 6f 74 6f 22 0d 73 65 |g btn "P|hoto".se|
|00005c10| 74 20 65 6e 61 62 6c 65 | 64 20 6f 66 20 62 74 6e |t enable|d of btn|
|00005c20| 20 22 50 68 6f 74 6f 22 | 20 74 6f 20 74 72 75 65 | "Photo"| to true|
|00005c30| 0d 70 75 74 20 22 43 6c | 69 63 6b 20 74 6f 20 73 |.put "Cl|ick to s|
|00005c40| 65 65 20 61 20 73 63 72 | 65 65 6e 20 73 68 6f 74 |ee a scr|een shot|
|00005c50| 2e 22 20 69 6e 74 6f 20 | 66 6c 64 20 22 49 6e 73 |." into |fld "Ins|
|00005c60| 74 72 75 63 74 69 6f 6e | 73 20 4c 61 62 65 6c 22 |truction|s Label"|
|00005c70| 0d 63 68 6f 6f 73 65 20 | 62 72 6f 77 73 65 20 74 |.choose |browse t|
|00005c80| 6f 6f 6c 0d 65 6e 64 20 | 6d 61 6b 65 50 68 6f 74 |ool.end |makePhot|
|00005c90| 6f 42 74 6e 0d 0d 6f 6e | 20 6d 6f 76 65 54 6f 6f |oBtn..on| moveToo|
|00005ca0| 6c 73 0d 73 68 6f 77 20 | 74 6f 6f 6c 20 77 69 6e |ls.show |tool win|
|00005cb0| 64 6f 77 20 61 74 20 36 | 34 31 2c 36 39 0d 73 68 |dow at 6|41,69.sh|
|00005cc0| 6f 77 20 6d 73 67 20 61 | 74 20 36 34 36 2c 34 32 |ow msg a|t 646,42|
|00005cd0| 38 0d 73 68 6f 77 20 77 | 69 6e 64 6f 77 20 73 69 |8.show w|indow si|
|00005ce0| 64 65 77 69 6e 64 65 72 | 20 61 74 20 36 34 31 2c |dewinder| at 641,|
|00005cf0| 32 31 33 0d 65 6e 64 20 | 6d 6f 76 65 54 6f 6f 6c |213.end |moveTool|
|00005d00| 73 0d 0d 6f 6e 20 68 69 | 64 65 42 6f 78 65 73 0d |s..on hi|deBoxes.|
|00005d10| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00005d20| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00005d30| 6f 66 20 62 67 20 62 74 | 6e 73 0d 69 66 20 74 68 |of bg bt|ns.if th|
|00005d40| 65 20 73 74 79 6c 65 20 | 6f 66 20 62 67 20 62 74 |e style |of bg bt|
|00005d50| 6e 20 69 20 69 73 20 63 | 68 65 63 6b 62 6f 78 20 |n i is c|heckbox |
|00005d60| 74 68 65 6e 20 68 69 64 | 65 20 62 67 20 62 74 6e |then hid|e bg btn|
|00005d70| 20 69 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e | i.end r|epeat.en|
|00005d80| 64 20 68 69 64 65 42 6f | 78 65 73 0d 0d 6f 6e 20 |d hideBo|xes..on |
|00005d90| 73 68 6f 77 42 6f 78 65 | 73 0d 72 65 70 65 61 74 |showBoxe|s.repeat|
|00005da0| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 74 | with i |= 1 to t|
|00005db0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 67 20 |he numbe|r of bg |
|00005dc0| 62 74 6e 73 0d 69 66 20 | 74 68 65 20 73 74 79 6c |btns.if |the styl|
|00005dd0| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 69 20 69 73 |e of bg |btn i is|
|00005de0| 20 63 68 65 63 6b 62 6f | 78 20 74 68 65 6e 20 73 | checkbo|x then s|
|00005df0| 68 6f 77 20 62 67 20 62 | 74 6e 20 69 0d 65 6e 64 |how bg b|tn i.end|
|00005e00| 20 72 65 70 65 61 74 0d | 65 6e 64 20 73 68 6f 77 | repeat.|end show|
|00005e10| 42 6f 78 65 73 0d 0d 6f | 6e 20 70 6f 73 74 42 6f |Boxes..o|n postBo|
|00005e20| 78 65 73 20 2d 2d 20 75 | 74 69 6c 69 74 79 0d 72 |xes -- u|tility.r|
|00005e30| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00005e40| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00005e50| 66 20 62 67 20 62 74 6e | 73 0d 69 66 20 74 68 65 |f bg btn|s.if the|
|00005e60| 20 73 74 79 6c 65 20 6f | 66 20 62 67 20 62 74 6e | style o|f bg btn|
|00005e70| 20 69 20 ad 20 63 68 65 | 63 6b 42 6f 78 20 74 68 | i . che|ckBox th|
|00005e80| 65 6e 20 6e 65 78 74 20 | 72 65 70 65 61 74 0d 69 |en next |repeat.i|
|00005e90| 66 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |f the hi|lite of |
|00005ea0| 62 67 20 62 74 6e 20 69 | 20 74 68 65 6e 0d 70 75 |bg btn i| then.pu|
|00005eb0| 74 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |t the sh|ort name|
|00005ec0| 20 6f 66 20 62 67 20 62 | 74 6e 20 69 20 61 66 74 | of bg b|tn i aft|
|00005ed0| 65 72 20 74 68 65 4c 69 | 73 74 0d 70 75 74 20 63 |er theLi|st.put c|
|00005ee0| 6f 6d 6d 61 20 61 66 74 | 65 72 20 74 68 65 4c 69 |omma aft|er theLi|
|00005ef0| 73 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |st.end i|f.end re|
|00005f00| 70 65 61 74 0d 69 66 20 | 6c 61 73 74 20 63 68 61 |peat.if |last cha|
|00005f10| 72 20 6f 66 20 74 68 65 | 4c 69 73 74 20 3d 20 63 |r of the|List = c|
|00005f20| 6f 6d 6d 61 20 74 68 65 | 6e 20 64 65 6c 65 74 65 |omma the|n delete|
|00005f30| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 74 68 | last ch|ar of th|
|00005f40| 65 4c 69 73 74 0d 73 6f | 72 74 20 69 74 65 6d 73 |eList.so|rt items|
|00005f50| 20 6f 66 20 74 68 65 4c | 69 73 74 0d 72 65 70 65 | of theL|ist.repe|
|00005f60| 61 74 20 77 69 74 68 20 | 69 20 3d 20 32 20 74 6f |at with |i = 2 to|
|00005f70| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 69 | the num|ber of i|
|00005f80| 74 65 6d 73 20 69 6e 20 | 74 68 65 4c 69 73 74 0d |tems in |theList.|
|00005f90| 70 75 74 20 73 70 61 63 | 65 20 62 65 66 6f 72 65 |put spac|e before|
|00005fa0| 20 69 74 65 6d 20 69 20 | 6f 66 20 74 68 65 4c 69 | item i |of theLi|
|00005fb0| 73 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |st.end r|epeat.if|
|00005fc0| 20 74 68 65 72 65 20 69 | 73 20 61 20 66 6c 64 20 | there i|s a fld |
|00005fd0| 22 4d 61 72 6b 65 74 73 | 22 20 74 68 65 6e 20 70 |"Markets|" then p|
|00005fe0| 75 74 20 74 68 65 4c 69 | 73 74 20 69 6e 74 6f 20 |ut theLi|st into |
|00005ff0| 66 6c 64 20 22 4d 61 72 | 6b 65 74 73 22 0d 65 6c |fld "Mar|kets".el|
|00006000| 73 65 20 70 75 74 20 74 | 68 65 4c 69 73 74 20 69 |se put t|heList i|
|00006010| 6e 74 6f 20 66 6c 64 20 | 22 53 70 65 63 69 61 6c |nto fld |"Special|
|00006020| 74 79 22 0d 65 6e 64 20 | 70 6f 73 74 42 6f 78 65 |ty".end |postBoxe|
|00006030| 73 0d 0d 6f 6e 20 75 6e | 6c 6f 63 6b 46 6c 64 73 |s..on un|lockFlds|
|00006040| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 6c 6f 63 |.lock sc|reen.loc|
|00006050| 6b 20 6d 65 73 73 61 67 | 65 73 0d 70 75 73 68 20 |k messag|es.push |
|00006060| 63 61 72 64 0d 72 65 70 | 65 61 74 20 77 69 74 68 |card.rep|eat with|
|00006070| 20 69 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | i = 1 t|o the nu|
|00006080| 6d 62 65 72 20 6f 66 20 | 62 67 73 0d 69 66 20 74 |mber of |bgs.if t|
|00006090| 68 65 20 69 64 20 6f 66 | 20 62 67 20 69 20 69 73 |he id of| bg i is|
|000060a0| 20 69 6e 20 22 32 31 35 | 38 2c 33 39 36 31 22 20 | in "215|8,3961" |
|000060b0| 74 68 65 6e 20 6e 65 78 | 74 20 72 65 70 65 61 74 |then nex|t repeat|
|000060c0| 0d 67 6f 20 62 67 20 69 | 0d 72 65 70 65 61 74 20 |.go bg i|.repeat |
|000060d0| 77 69 74 68 20 6b 20 3d | 20 31 20 74 6f 20 74 68 |with k =| 1 to th|
|000060e0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 66 6c 64 73 |e number| of flds|
|000060f0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00006100| 75 73 79 0d 69 66 20 74 | 68 65 20 73 68 61 72 65 |usy.if t|he share|
|00006110| 64 54 65 78 74 20 6f 66 | 20 66 6c 64 20 6b 20 74 |dText of| fld k t|
|00006120| 68 65 6e 20 6e 65 78 74 | 20 72 65 70 65 61 74 0d |hen next| repeat.|
|00006130| 73 65 74 20 74 68 65 20 | 6c 6f 63 6b 54 65 78 74 |set the |lockText|
|00006140| 20 6f 66 20 66 6c 64 20 | 6b 20 74 6f 20 66 61 6c | of fld |k to fal|
|00006150| 73 65 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6e |se.end r|epeat.en|
|00006160| 64 20 72 65 70 65 61 74 | 0d 72 65 70 65 61 74 20 |d repeat|.repeat |
|00006170| 77 69 74 68 20 69 20 3d | 20 33 20 74 6f 20 74 68 |with i =| 3 to th|
|00006180| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 64 73 0d |e number| of cds.|
|00006190| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|000061a0| 73 79 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |sy.if th|ere is a|
|000061b0| 20 63 64 20 66 6c 64 20 | 31 20 6f 66 20 63 64 20 | cd fld |1 of cd |
|000061c0| 69 0d 74 68 65 6e 20 73 | 65 74 20 6c 6f 63 6b 54 |i.then s|et lockT|
|000061d0| 65 78 74 20 6f 66 20 63 | 64 20 66 6c 64 20 31 20 |ext of c|d fld 1 |
|000061e0| 6f 66 20 63 64 20 69 20 | 74 6f 20 66 61 6c 73 65 |of cd i |to false|
|000061f0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 6f 70 20 |.end rep|eat.pop |
|00006200| 63 61 72 64 0d 65 6e 64 | 20 75 6e 6c 6f 63 6b 46 |card.end| unlockF|
|00006210| 6c 64 73 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |lds.....|........|
|00006220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006230| 00 00 00 00 6f 73 65 62 | 61 63 6b 67 72 6f 75 6e |....oseb|ackgroun|
|00006240| 64 20 2d 2d 6d 65 72 72 | 79 78 6d 61 73 0d 6d 65 |d --merr|yxmas.me|
|00006250| 72 72 79 78 6d 61 73 20 | 22 6f 6e 20 63 6c 6f 73 |rryxmas |"on clos|
|00006260| 65 62 61 63 6b 67 72 6f | 75 6e 64 20 2d 2d 6d 65 |ebackgro|und --me|
|00006270| 72 72 79 78 6d 61 73 22 | 0d 65 6e 64 20 63 6c 6f |rryxmas"|.end clo|
|00006280| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 08 74 6e 00 17 db a0 | 00 04 24 77 00 08 c3 80 |..tn....|..$w....|
|000062b0| 00 18 64 f5 00 18 6c 68 | 00 10 55 e8 00 08 78 79 |..d...lh|..U...xy|
|000062c0| 00 05 1c ff 00 10 12 10 | 00 18 7d 68 00 10 87 07 |........|..}h....|
|000062d0| 00 0a 61 10 00 18 44 9c | 00 07 5a c2 00 08 6a 5d |..a...D.|..Z...j]|
|000062e0| 00 12 67 b6 00 12 cf 62 | 00 08 7c cd 00 06 95 b7 |..g....b|..|.....|
|000062f0| 00 18 6f 98 00 07 4d 46 | 00 0e 20 39 00 05 d3 ce |..o...MF|.. 9....|
|00006300| 00 06 88 c1 00 0a 7a bf | 00 08 a9 66 00 05 1e b1 |......z.|...f....|
|00006310| 00 08 76 ec 00 05 d1 50 | 00 13 1f 4e 00 18 82 e2 |..v....P|...N....|
|00006320| 00 18 9e 1e 00 15 c8 4c | 00 15 a0 0e 00 13 6d df |.......L|......m.|
|00006330| 00 14 a9 ae 00 14 cd 50 | 00 18 bc 2f 00 0c cb b2 |.......P|.../....|
|00006340| 00 17 91 be 00 0d 6d 45 | 00 0b f7 c3 00 13 8d cd |......mE|........|
|00006350| 00 11 47 84 00 0f 8e c5 | 00 0d ce 32 00 0f b6 77 |..G.....|...2...w|
|00006360| 00 0c 64 90 00 13 43 25 | 00 0b 25 60 00 17 77 93 |..d...C%|..%`..w.|
|00006370| 00 0d a3 a0 00 15 0f df | 00 15 78 29 00 14 24 69 |........|..x)..$i|
|00006380| 00 16 4f c2 00 13 b5 0a | 00 03 20 ee 00 15 3b c5 |..O.....|.. ...;.|
|00006390| 00 0b d3 80 00 12 31 9a | 00 0a f0 b7 00 0b a2 5a |......1.|.......Z|
|000063a0| 00 03 24 b4 00 15 fa 0a | 00 13 f6 78 00 14 0c 91 |..$.....|...x....|
|000063b0| 00 16 22 f2 00 16 f1 84 | 00 17 2e 6c 00 0b 6c e4 |..".....|...l..l.|
|000063c0| 00 03 64 13 00 10 b4 28 | 00 10 ef bd 00 10 df 5f |..d....(|......._|
|000063d0| 00 0d 2d fb 00 0a ad e8 | 00 03 a4 f0 00 03 e4 f3 |..-.....|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.